watchdog: imx2_wdt: disable watchdog timer during low power mode
authorAnson Huang <b20788@freescale.com>
Mon, 13 Jan 2014 11:58:34 +0000 (19:58 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:25:20 +0000 (21:25 +0100)
commit1a9c5efa576eccadd2836a1e53dcea21f999c180
treef4fe2e240c1be663676174dca36b2a807c5c1389
parentcffc9a60ebac3b560a370553abd885fa43d8b286
watchdog: imx2_wdt: disable watchdog timer during low power mode

We should set watchdog timer to be disabled in low power mode,
as there is no service running in background, otherwise, system
will reset unexpected.

Signed-off-by: Anson Huang <b20788@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c