watchdog: da9062: Disable and wait before changing timeout
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 17 Oct 2017 15:30:25 +0000 (17:30 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Dec 2017 19:45:07 +0000 (20:45 +0100)
commitf31b2a9bdeaea38957f4675ee0d1b8421595dc67
tree184f6de3cedaf9d238bddf88558cfe364e2e2608
parent540f635192bb222f252724f70b9240d17742f1b1
watchdog: da9062: Disable and wait before changing timeout

The DA9062 watchdog occasionally enters error condition and resets the
system if the timeout is changed quickly after the timer was enabled.

The method of disabling and waiting for > 150 µs before setting the
new timeout is taken from the DA9052 driver.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/da9062_wdt.c