summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-05-24 15:01:50 -0500
committerJohn Klug <john.klug@multitech.com>2022-05-24 15:01:50 -0500
commit2daa0e22161110a1cede903fee5a81157007e0d5 (patch)
tree9d825e8fe390de2daf79f11612e6d879667fb5be /recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
parent3601f32e7e6657b8497598ec4d362ace7193a58e (diff)
downloadmeta-multitech-atmel-2daa0e22161110a1cede903fee5a81157007e0d5.tar.gz
meta-multitech-atmel-2daa0e22161110a1cede903fee5a81157007e0d5.tar.bz2
meta-multitech-atmel-2daa0e22161110a1cede903fee5a81157007e0d5.zip
Restore 5.4.81 kernel
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
new file mode 100644
index 0000000..03aabfb
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
@@ -0,0 +1,25 @@
+From 4c91fb02348b92473c324e3861ebd0b558c7f535 Mon Sep 17 00:00:00 2001
+From: Mykyta Dorokhin <mykyta.dorokhin@globallogic.com>
+Date: Fri, 1 Jan 2021 03:12:51 +0200
+Subject: [PATCH] at91sam9_wdt-10second-timeout
+
+---
+ drivers/watchdog/at91sam9_wdt.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
+index 292b5a1..d1fdee4 100644
+--- a/drivers/watchdog/at91sam9_wdt.c
++++ b/drivers/watchdog/at91sam9_wdt.c
+@@ -60,7 +60,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)
+--
+1.9.1
+