diff options
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-at91sam9_wdt-10second-timeout.patch')
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-at91sam9_wdt-10second-timeout.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-at91sam9_wdt-10second-timeout.patch b/recipes-kernel/linux/linux-at91-5.4.199/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.199/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 + |