watchdog: dw: save/restore control and timeout across suspend/resume
authorBrian Norris <briannorris@chromium.org>
Sat, 10 Mar 2018 03:46:07 +0000 (19:46 -0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 13 Mar 2018 18:14:19 +0000 (19:14 +0100)
commit8c088370c2a684acad45e0035d9f2dfd85087db0
treebc13a303b3006cc0eb4c00e679d9a49cff3355b2
parenta81abbb412341e9e3b2d42ed7d310cf71fbb84a8
watchdog: dw: save/restore control and timeout across suspend/resume

Some platforms lose this state in suspend. It should be safe to do this
unconditionally.

Signed-off-by: Brian Norris <briannorris@chromium.org>
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/dw_wdt.c