watchdog: da9062: add power management ops
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 28 Nov 2019 17:19:31 +0000 (18:19 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 27 Jan 2020 14:55:45 +0000 (15:55 +0100)
commitf6c98b08381c774a56b2f0f0067da646c23f1447
treef248426f8f1a9a6560ff1737d0bf4491a9d84ec5
parentd4ba76d79854178ffff55d66e1a72580484a741d
watchdog: da9062: add power management ops

Disable the watchdog during suspend if it is enabled and re-enable it on
resume. So we can sleep without the interruptions.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191128171931.22563-1-m.felsch@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/da9062_wdt.c