diff options
author | Greta Zhang <[email protected]> | 2015-07-24 15:28:46 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2015-09-09 21:34:02 +0200 |
commit | 5724485b185a4ac4bb96149718ff736c5ef5c169 (patch) | |
tree | e1cfd5e75df59787f2ee2c7623973e095f52270a /net/lapb/lapb_subr.c | |
parent | 9fab06920c9207aca8ff4e2416bb10cabc19294a (diff) |
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 <[email protected]>
Signed-off-by: Eddie Huang <[email protected]>
Acked-by: Matthias Brugger <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions