wdog: imx-wd: watchdog cannot be disabled again
The i.MX21/i.MX6 watchdog cannot be disabled after it was activated.
Bit 2 (WDE) cannot be set to 0 again. Notify the user about that by
returning -ENOSYS.

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 92327f1 commit fbcf721db1304505045bc31dbd4dc6fc2fb23e68
@Stefan Christ Stefan Christ authored on 12 Nov 2015
Sascha Hauer committed on 30 Nov 2015
Showing 1 changed file
View
drivers/watchdog/imxwd.c