diff options
| author | 2026-09-14 14:23:53 +0800 | |
|---|---|---|
| committer | 2026-09-16 17:41:28 -0700 | |
| commit | 5071122bf5a628494db16d98d253f622a5aab074 (patch) | |
| tree | 084597dd476fee1dcf789aa25e2cdda2ede4a77a /scripts/Makefile.thinlto | |
| parent | watchdog: msc313e: Fix premature reset during timeout update (diff) | |
watchdog: da9062: fix suspend/resume handling of HW_RUNNING watchdog
da9062_wdt_suspend() and da9062_wdt_resume() only check watchdog_active(),
when the watchdog is left running by the driver sets
WDOG_HW_RUNNING in da9062_wdt_probe() but userspace never opens the
device, so WDOG_ACTIVE remains cleared, the wdt_disable() will not be
executed in da9062_wdt_suspend. In this case, the suspend callback is
a no-op and the watchdog keeps counting during system suspend,
leading to an unexpected system reset.
Check WDOG_HW_RUNNING and wdt->wdd,can fix this issue.
Fixes: f6c98b08381c7 ("watchdog: da9062: add power management ops")
Cs: stable@vger.kernel.org
Signed-off-by: Li Jun <lijun01@kylinos.cn>
Link: https://patch.msgid.link/20260914062353.582205-1-lijun01@kylinos.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
