summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch
new file mode 100644
index 0000000..c9b6b05
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-at91sam9_wdt-10second-timeout.patch
@@ -0,0 +1,12 @@
+diff -Naru linux-4.9.87.orig/drivers/watchdog/at91sam9_wdt.c linux-4.9.87/drivers/watchdog/at91sam9_wdt.c
+--- linux-4.9.87.orig/drivers/watchdog/at91sam9_wdt.c 2019-01-22 12:18:00.135296967 -0600
++++ linux-4.9.87/drivers/watchdog/at91sam9_wdt.c 2019-01-22 12:18:29.207296107 -0600
+@@ -63,7 +63,7 @@
+ #define WDT_COUNTER_MAX_SECS ticks_to_secs(WDT_COUNTER_MAX_TICKS)
+
+ /* Hardware timeout in seconds */
+-#define WDT_HW_TIMEOUT 2
++#define WDT_HW_TIMEOUT 10
+
+ /* Timer heartbeat (500ms) */
+ #define WDT_TIMEOUT (HZ/2)