diff options
author | Grzegorz Jaszczyk <[email protected]> | 2021-06-18 21:50:32 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-08-22 10:28:08 +0200 |
commit | 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 (patch) | |
tree | 918b076b7d7ab529aa5f26f101864a6505ad4802 /lib/test_overflow.c | |
parent | c7b178dae139f8857edc50888cfbf251cd974a38 (diff) |
watchdog: introduce watchdog_dev_suspend/resume
The watchdog drivers often disable wdog clock during suspend and then
enable it again during resume. Nevertheless the ping worker is still
running and can issue low-level ping while the wdog clock is disabled
causing the system hang. To prevent such condition register pm notifier
in the watchdog core which will call watchdog_dev_suspend/resume and
actually cancel ping worker during suspend and restore it back, if
needed, during resume.
Signed-off-by: Grzegorz Jaszczyk <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions