diff options
author | Greta Zhang <greta.zhang@mediatek.com> | 2015-07-24 07:28:46 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-09-09 19:34:02 (GMT) |
commit | 5724485b185a4ac4bb96149718ff736c5ef5c169 (patch) | |
tree | e1cfd5e75df59787f2ee2c7623973e095f52270a /scripts/headers_install.sh | |
parent | 9fab06920c9207aca8ff4e2416bb10cabc19294a (diff) | |
download | linux-5724485b185a4ac4bb96149718ff736c5ef5c169.tar.xz |
watchdog: mtk_wdt: add wdt shutdown callback to disable wdt if enabled
Without .shutdown(), watchdog might reset the system during power off.
For example, if watchdog's timeout is set to 30s, then it is reset to
zero by mtk_wdt_ping(). During power off, no app will ping watchdog,
but watchdog is still running and may trigger reset.
Signed-off-by: Greta Zhang <greta.zhang@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'scripts/headers_install.sh')
0 files changed, 0 insertions, 0 deletions