diff options
author | Greta Zhang <greta.zhang@mediatek.com> | 2015-07-24 15:28:46 +0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-09-09 21:34:02 +0200 |
commit | 5724485b185a4ac4bb96149718ff736c5ef5c169 (patch) | |
tree | e1cfd5e75df59787f2ee2c7623973e095f52270a /security/inode.c | |
parent | 9fab06920c9207aca8ff4e2416bb10cabc19294a (diff) | |
download | op-kernel-dev-5724485b185a4ac4bb96149718ff736c5ef5c169.zip op-kernel-dev-5724485b185a4ac4bb96149718ff736c5ef5c169.tar.gz |
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 'security/inode.c')
0 files changed, 0 insertions, 0 deletions