[PATCH v1] x86/platform/intel-mid: Correct MSI for watchdog device

From: Andy Shevchenko
Date: Sun Mar 12 2017 - 11:07:58 EST


The interrupt line used for watchdog is 12 according to the official
Intel Edison BSP code.

And indeed after fixing it we start getting an interrupt and thus:
[ 191.699951] Kernel panic - not syncing: Kernel Watchdog

Fixes: 78a3bb9e408b ("x86: intel-mid: add watchdog platform code for Merrifield")
Cc: David Cohen <david.a.cohen@xxxxxxxxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
index 86edd1e941eb..9e304e2ea4f5 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
@@ -19,7 +19,7 @@
#include <asm/intel_scu_ipc.h>
#include <asm/io_apic.h>

-#define TANGIER_EXT_TIMER0_MSI 15
+#define TANGIER_EXT_TIMER0_MSI 12

static struct platform_device wdt_dev = {
.name = "intel_mid_wdt",
--
2.11.0