summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.12.27/linux-3.12-at91sam9_wdt-10second-timeout.patch
blob: 7f4b38c39257b2bbafa53de05ffe0765900ca80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: linux-3.12.13/drivers/watchdog/at91sam9_wdt.c
===================================================================
--- linux-3.12.13.orig/drivers/watchdog/at91sam9_wdt.c	2014-02-22 15:32:50.000000000 -0600
+++ linux-3.12.13/drivers/watchdog/at91sam9_wdt.c	2014-04-10 16:50:56.032692627 -0500
@@ -49,7 +49,8 @@
 #define ticks_to_ms(t)	(((t + 1) * 1000) >> 8)
 
 /* Hardware timeout in seconds */
-#define WDT_HW_TIMEOUT 2
+/* MTCDT: use longer timeout */
+#define WDT_HW_TIMEOUT 10
 
 /* Timer heartbeat (500ms) */
 #define WDT_TIMEOUT	(HZ/2)