summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStanislav Aleksandrov <lightofmysoul@gmail.com>2026-11-09 08:26:52 +0000
committerGuenter Roeck <linux@roeck-us.net>2026-11-09 15:00:39 -0800
commitf0dfc756bb46235068279755249131c2a7130111 (patch)
tree152150e894ee099de4ed28f8df57e8a2e2fb2890 /tools/perf/scripts/python
parent3ada899b7c012885a53f4178a1f5cbd20919e8b4 (diff)
watchdog: gunyah_wdt: Re-enable the watchdog on resume
gunyah_wdt_suspend() disables an active watchdog, and gunyah_wdt_resume() enables it again with gunyah_wdt_start(). start() first disables the watchdog, which fails with -EINVAL when it is already disabled. start() ignores that only while the watchdog is inactive, but on resume it is still active for the watchdog core, so start() returns before it enables the watchdog: gunyah-wdt gunyah-wdt: gunyah_wdt_start: Failed to stop gunyah wdt -22 So after every system suspend, the watchdog is left disabled. Move setting the timeout and enabling the watchdog into gunyah_wdt_enable(), and call it on resume, where the watchdog is already disabled. Tested on the Samsung Galaxy XR (Qualcomm Halliday) with s2idle and deep suspend. Fixes: ca316e145c35 ("watchdog: Add driver for Gunyah Watchdog") Cc: stable@vger.kernel.org Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com> Link: https://patch.msgid.link/20261109-gunyah-wdt-resume-v1-1-fbd84545ce92@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions