summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-08-29 00:13:44 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-09-09 14:15:53 -0700
commit4f6817c9eff4aa1078e16652d82e4b7ef4ffae3e (patch)
tree95539ee0eb10b2bb8f1c5db3592d0781a53c5ae9 /scripts/basic/split-include.c
parent3db2df24e7f11fb117718f6abe326628d91bc500 (diff)
downloadlinux-4f6817c9eff4aa1078e16652d82e4b7ef4ffae3e.tar.gz
linux-4f6817c9eff4aa1078e16652d82e4b7ef4ffae3e.zip
watchdog: msc313e: Fix spurious reset on suspend
If the hardware watchdog was started by the bootloader and the device is suspended before userspace opens it, the ping worker (from watchdog core) is frozen and the active hardware timer continues running. This leads to a spurious system reset. Check both watchdog_active() and watchdog_hw_running() when deciding whether to start or stop the watchdog during suspend and resume. Additionally, call watchdog_stop_ping_on_suspend() to ensure the ping worker be correctly paused and restarted during suspend and resume. Fixes: ffd264bd152c ("watchdog: msc313e: Check if the WDT was running at boot") Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260828161348.13212-6-tzungbi@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions