watchdog: stop wdd when watchdog hw running in reboot_notifier
authorZhao Qiang <qiang.zhao@nxp.com>
Thu, 14 Jan 2021 08:09:57 +0000 (16:09 +0800)
committerXiaobo Xie <xiaobo.xie@nxp.com>
Thu, 4 Feb 2021 07:07:47 +0000 (08:07 +0100)
commit3ba33182767bc361486df1a97402bf0acbc755ab
treefed4b1f319ba57ff78ff45da44739eead7402e96
parent7194849e5bc17e76db783a8b9d4dc4f5b383ea0f
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>
drivers/watchdog/watchdog_core.c