diff options
author | Primoz Fiser <primoz.fiser@norik.com> | 2022-04-22 09:27:12 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-05-21 10:07:31 +0200 |
commit | a7ceca4398bc835c6ad29d10e1106de4cf0332e1 (patch) | |
tree | 083177f877c03cecdd832053495f6b155d48c51f /mm/debug.c | |
parent | b1912875a548cf32eebc77eec85034052909bba8 (diff) | |
download | linux-a7ceca4398bc835c6ad29d10e1106de4cf0332e1.tar.gz |
watchdog: da9063: optionally disable watchdog during suspend
Optionally disable watchdog during suspend (if enabled) and re-enable
it upon resume.
This enables boards to sleep without being interrupted by the watchdog.
This patch is based on commit f6c98b08381c ("watchdog: da9062: add
power management ops") and commit 8541673d2a5f ("watchdog: da9062: fix
power management ops") and brings the same functionality to DA9063.
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Reviewed-by: Adam Thomson <DLG-Adam.Thomson.Opensource@dm.renesas.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220422072713.3172345-2-primoz.fiser@norik.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions