diff options
| author | Hungyu Lin <dennylin0707@gmail.com> | 2026-06-08 08:17:20 +0000 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-07-30 10:04:17 +0100 |
| commit | f87d7eda07fca21efe4b96169ae59007db46e60e (patch) | |
| tree | 34fb15f8dcf3f2512f3ce4a560bfde6f4bf12799 /tools/perf/scripts/python/netdev-times.py | |
| parent | 460d3257a6dffc7f0bf58009daeb7e0b6eb2d9d3 (diff) | |
media: qcom: iris: fix runtime PM reference leaks
Use pm_runtime_resume_and_get() in iris_enable_power_domains()
to avoid leaking a runtime PM usage count on failure.
Also ensure pm_runtime_put_sync() is always called in
iris_disable_power_domains(), even when iris_opp_set_rate()
fails, so runtime PM references remain balanced.
Fixes: bb8a95aa038e ("media: iris: implement power management")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
