summaryrefslogtreecommitdiff
path: root/drivers/watchdog/retu_wdt.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-10-14 12:25:19 -0700
committerWim Van Sebroeck <wim@iguana.be>2015-02-17 21:32:36 +0100
commitfb1cbeaeed0f41965ead2714bfc9c579188c6146 (patch)
tree2a2b3987a9abad6739ffefad67a33960caedbbba /drivers/watchdog/retu_wdt.c
parenta6f8f81ec77ba5e5f0b3249dfd3fc554ac5db117 (diff)
downloadlwn-fb1cbeaeed0f41965ead2714bfc9c579188c6146.tar.gz
lwn-fb1cbeaeed0f41965ead2714bfc9c579188c6146.zip
watchdog: Fix omap watchdogs to enable the magic close bit
This allows testing the watchdog easily with distros just by doing pkill -9 watchdog. Reported-by: Thomas Dziedzic <gostrc@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi> Reviewed-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/retu_wdt.c')
-rw-r--r--drivers/watchdog/retu_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/retu_wdt.c b/drivers/watchdog/retu_wdt.c
index a7a0695971e4..b7c68e275aeb 100644
--- a/drivers/watchdog/retu_wdt.c
+++ b/drivers/watchdog/retu_wdt.c
@@ -94,7 +94,7 @@ static int retu_wdt_set_timeout(struct watchdog_device *wdog,
}
static const struct watchdog_info retu_wdt_info = {
- .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING,
+ .options = WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE | WDIOF_KEEPALIVEPING,
.identity = "Retu watchdog",
};