watchdog: qcom: register a restart notifier
authorJosh Cartwright <joshc@codeaurora.org>
Thu, 25 Sep 2014 22:51:04 +0000 (17:51 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 19:04:19 +0000 (21:04 +0200)
commit05e487d905ab29b5756d6d1e47e27eefa6693fb3
treeb84870947ec139b72c8ee1615ff427fd2deb25a1
parentf286e1335f579dfd970c7fc3f62b248773a47a5c
watchdog: qcom: register a restart notifier

The WDT's BITE_TIME warm-reset behavior can be leveraged as a last
resort mechanism for triggering chip reset.  Usually, other restart
methods (such as PS_HOLD) are preferrable for issuing a more complete
reset of the chip.  As such, keep the priority of the watchdog notifier
low.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/qcom-wdt.c