summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-01-14 18:15:06 +0200
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-01-14 18:15:06 +0200
commit9efe03c07d0abd47d67c78be06d2af22f3f66eb1 (patch)
treec5e6451b341bd64f5aabf35be5595927e6a40bff /recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-at91sam9_wdt-10second-timeout.patch
parent2ef6078c7e83b8ba9d470a2ce70a4bacda65ef24 (diff)
downloadmeta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.tar.gz
meta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.tar.bz2
meta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.zip
linux 5.4: reimplemented patches
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
+