aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sunxi_wdt.c
diff options
context:
space:
mode:
authorGreta Zhang <greta.zhang@mediatek.com>2015-07-24 15:28:46 +0800
committerWim Van Sebroeck <wim@iguana.be>2015-09-09 21:34:02 +0200
commit5724485b185a4ac4bb96149718ff736c5ef5c169 (patch)
treee1cfd5e75df59787f2ee2c7623973e095f52270a /drivers/watchdog/sunxi_wdt.c
parentwatchdog: mtk_wdt: add suspend/resume support (diff)
downloadlinux-dev-5724485b185a4ac4bb96149718ff736c5ef5c169.tar.xz
linux-dev-5724485b185a4ac4bb96149718ff736c5ef5c169.zip
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 'drivers/watchdog/sunxi_wdt.c')
0 files changed, 0 insertions, 0 deletions