]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb6dd33dabf593798ac1c2504c5d36ee032c47df
treeb84870947ec139b72c8ee1615ff427fd2deb25a1
parentb8ae3b20acb67f0e332bbe1696f97fef4657a0f9
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