Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: intel-mid: add Magic Closure flag

Adding WDIOF_MAGICCLOSE to Intel MID watchdog driver. Once the watchdog
is opened, it makes sense to disable watchdog only if it was gracefully
released.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

David Cohen and committed by
Wim Van Sebroeck
8cbb97ea 9493c0d8

+1 -1
+1 -1
drivers/watchdog/intel-mid_wdt.c
··· 101 101 102 102 static const struct watchdog_info mid_wdt_info = { 103 103 .identity = "Intel MID SCU watchdog", 104 - .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT, 104 + .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE, 105 105 }; 106 106 107 107 static const struct watchdog_ops mid_wdt_ops = {