diff options
author | 2024-01-30 13:51:18 +0800 | |
---|---|---|
committer | 2024-03-03 14:17:29 +0100 | |
commit | d869d6352a5c2b13e76c19ba8f7243f422cf3fd0 (patch) | |
tree | 050552fe9450606e496c2ad3e9183c6151962cd8 /scripts/gdb/linux/interrupts.py | |
parent | watchdog: starfive: Check pm_runtime_enabled() before decrementing usage counter (diff) | |
download | wireguard-linux-d869d6352a5c2b13e76c19ba8f7243f422cf3fd0.tar.xz wireguard-linux-d869d6352a5c2b13e76c19ba8f7243f422cf3fd0.zip |
watchdog: starfive: check watchdog status before enabling in system resume
System resume will start and enable watchdog regardless of whether the
watchdog is enabled/disabled during a system suspend.
Add a check to the watchdog status and only start and enable the
watchdog if the watchdog status is running/active.
Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240130055118.1917086-1-jisheng.teoh@starfivetech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions