diff options
author | Ken Sloat <[email protected]> | 2019-06-14 12:53:22 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-07-08 20:35:12 +0200 |
commit | 8d209eb0b167ac6998ef330150a3960032a31c50 (patch) | |
tree | 922e45a5f5f7db2f07754d0052b386cdef878e73 /net/lapb/lapb_timer.c | |
parent | d0173278935a9c7ea268cc8baa8b669ecb57c0e3 (diff) |
watchdog: atmel: atmel-sama5d4-wdt: Disable watchdog on system suspend
Currently, the atmel-sama5d4-wdt continues to run after system suspend.
Unless the system resumes within the watchdog timeout period so the
userspace can kick it, the system will be reset. This change disables
the watchdog on suspend if it is active and re-enables on resume. These
actions occur during the late and early phases of suspend and resume
respectively to minimize chances where a lock could occur while the
watchdog is disabled.
Signed-off-by: Ken Sloat <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions