watchdog: intel-mid: add Magic Closure flag
authorDavid Cohen <david.a.cohen@linux.intel.com>
Mon, 5 Oct 2015 23:49:58 +0000 (16:49 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 28 Oct 2015 21:58:32 +0000 (22:58 +0100)
commit8cbb97ea3e386eb95ecbd99260d681792963cebf
tree7119cee9a5df1ed8dc3b96aa6363573405aa2e1e
parent9493c0d824f7012dab7034a5b527ac8f07db5bed
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>
drivers/watchdog/intel-mid_wdt.c