Searched hist:"28 e805b44d52900fc5b05b35ef3945dc6db336a1" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/watchdog/ |
H A D | gpio_wdt.c | 28e805b44d52900fc5b05b35ef3945dc6db336a1 Fri Nov 20 21:54:54 UTC 2015 Damien Riegel <damien.riegel@savoirfairelinux.com> watchdog: gpio_wdt: use core reboot notifier
Get rid of the custom reboot notifier block registration and use the one provided by the watchdog core.
Note that this watchdog used to stop unconditionnaly on SYS_HALT and SYS_POWER_OFF. The core function now calls ops->stop on SYS_HALT and SYS_DOWN. To prevent the watchdog from being stopped on reboot, the "always-running" property must be set, otherwise it will now be stopped.
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirlinux.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
|