LF-3296-2 watchdog: sbsa_gwdt: add shutdown hook to driver
authorZhao Qiang <qiang.zhao@nxp.com>
Mon, 24 Aug 2020 07:18:33 +0000 (15:18 +0800)
committerXiaobo Xie <xiaobo.xie@nxp.com>
Mon, 7 Jun 2021 04:10:25 +0000 (06:10 +0200)
commitd1331b9bb16c5318fc8a7b6831136c79c116f8d9
tree9e7d8c4c53e6dec5ff8cfad9d45ffd1b3c06bce2
parentcbbfb5c197356a71b3e22f6cc5483daa73cd72eb
LF-3296-2 watchdog: sbsa_gwdt: add shutdown hook to driver

Kexec maybe need more time than timeout of wdt(sbsa)
which will reset the system.
So it is necessary to add shutdown hook to disable the
wdt when run kexec.

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/watchdog/sbsa_gwdt.c