aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorVignesh Raghavendra <[email protected]>2023-12-13 19:31:10 +0530
committerWim Van Sebroeck <[email protected]>2023-12-17 16:14:24 +0100
commitc1a6edf3b541e44e78f10bc6024df779715723f1 (patch)
tree55238a9390a0a37a3f63f3aba5599defbdcf1fd5 /tools/perf/scripts/python/libxed.py
parentf77999887235f8c378af343df11a6bcedda5b284 (diff)
watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
Call runtime_pm_put*() if watchdog is not already started during probe and re enable it in watchdog start as required. On K3 SoCs, watchdogs and their corresponding CPUs are under same power-domain, so if the reference count of unused watchdogs aren't dropped, it will lead to CPU hotplug failures as Device Management firmware won't allow to turn off the power-domain due to dangling reference count. Fixes: 2d63908bdbfb ("watchdog: Add K3 RTI watchdog support") Signed-off-by: Vignesh Raghavendra <[email protected]> Tested-by: Manorit Chawdhry <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions