]> 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)
commitce72c9486354c06edd8b2e6ee6ee4599090d7891
tree3eafc26049c47fd996e00eeea53773ae8a7038d3
parentffead6f5fa3b7e2f86aa0c20294c743ce4f213e9
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