]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: imx2_wdt: Disable power down counter on boot
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 8 Sep 2014 07:14:07 +0000 (09:14 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 21 Jan 2015 13:52:23 +0000 (14:52 +0100)
commit9595becbf372b8535bca01ea1e9d0d730dc76c2a
tree3eafc26049c47fd996e00eeea53773ae8a7038d3
parenta6611661f6dc80ef7a4596f74395f90bb860ef3b
watchdog: imx2_wdt: Disable power down counter on boot

Disable power down counter of the watchdog to avoid system resets. The
watchdog power down counter is set automatically by the chip. If it is
not set to 0 in the driver, the system resets.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c