summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@savoirfairelinux.com>2015-11-20 22:54:54 +0100
committerWim Van Sebroeck <wim@iguana.be>2015-12-13 15:56:02 +0100
commit28e805b44d52900fc5b05b35ef3945dc6db336a1 (patch)
tree68c66c723ca11de50054a803478bf384faeda920 /arch
parentwatchdog: cadence_wdt: use core reboot notifier (diff)
downloadlinux-28e805b44d52900fc5b05b35ef3945dc6db336a1.tar.xz
linux-28e805b44d52900fc5b05b35ef3945dc6db336a1.zip
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions