summaryrefslogtreecommitdiff
path: root/multitech/recipes/linux/linux-2.6.39-at91/mtocgd3/linux-2.6.39.4-at91sam9_wdt-10second-timeout.patch
blob: 90c906c08534cd22feef9917a66ae6277c99067c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: linux-2.6.39.4/drivers/watchdog/at91sam9_wdt.c
===================================================================
--- linux-2.6.39.4.orig/drivers/watchdog/at91sam9_wdt.c	2013-01-16 14:33:37.565560189 -0600
+++ linux-2.6.39.4/drivers/watchdog/at91sam9_wdt.c	2013-01-16 14:34:26.531727425 -0600
@@ -43,7 +43,8 @@
 #define ticks_to_ms(t)	(((t + 1) * 1000) >> 8)
 
 /* Hardware timeout in seconds */
-#define WDT_HW_TIMEOUT 2
+/* MTR: use longer timeout */
+#define WDT_HW_TIMEOUT 10
 
 /* Timer heartbeat (500ms) */
 #define WDT_TIMEOUT	(HZ/2)