watchdog: stop wdd when watchdog hw running in reboot_notifier
authorZhao Qiang <qiang.zhao@nxp.com>
Thu, 14 Jan 2021 08:26:51 +0000 (16:26 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 7 Feb 2021 13:41:21 +0000 (14:41 +0100)
commitac288a7b1a98a11e3269573b1de05fb35b80e051
tree3c08d8e7f5d76442bcece60c9451824959975b3d
parentfbf376056d16010dcba84aa89c2ac320b443163d
watchdog: stop wdd when watchdog hw running in reboot_notifier

In watchdog_reboot_notifier, wdd should be stopped when the device
is in hw_running state

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210114082651.17162-1-qiang.zhao@nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/watchdog_core.c