summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-at91sam9_wdt-10second-timeout.patch
blob: 03aabfb6f1d95a5b971a94507fb205dd04f9cc40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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