summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-09-14 09:47:29 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-09-15 14:55:01 -0400
commit7b60ee5f46f2ee329de661f7c68b6818d8136220 (patch)
treeaf651194003a76d73145f923ed48d7dffe79835c /tools/perf/scripts/python/stackcollapse.py
parent8879e3e0a84a86954c855caceead4867e74a9a27 (diff)
downloadlinux-7b60ee5f46f2ee329de661f7c68b6818d8136220.tar.gz
linux-7b60ee5f46f2ee329de661f7c68b6818d8136220.zip
Bluetooth: btmtksdio: Fix PM runtime reference leak in shutdown
In btmtksdio_shutdown(), pm_runtime_get_sync() is called at the beginning of the function. However, if sending the WMT function control command fails later, the driver returns early. It bypasses the corresponding pm_runtime_put_noidle() and pm_runtime_disable() calls, leaking the PM usage counter and leaving PM runtime enabled indefinitely. Fall through to execute the PM runtime cleanup block even if WMT errors. Fixes: 7f3c563c575e ("Bluetooth: btmtksdio: Add runtime PM support to SDIO based Bluetooth") Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions