summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-09-17 19:11:36 +0700
committerMark Brown <broonie@kernel.org>2026-09-24 23:56:03 +0100
commit5626653a4bdf32812d66b970860677cd9d7a2190 (patch)
tree97be9d105ae4014b02b2da85ee58b6aec96f2c3f /tools/perf/scripts/python
parentadea6696dc7d9346d57b1120dfdab97d7b8895e4 (diff)
ASoC: fsl_asrc_m2m: fix pm_runtime usage counter leak on error
pm_runtime_get_sync() leaves the runtime PM usage counter incremented even when it fails, but the error path in fsl_asrc_m2m_comp_open() does not call pm_runtime_put_noidle() to balance it, leaking a reference each time resume fails. Use pm_runtime_resume_and_get() instead, which automatically drops the usage counter on failure, fixing the leak. Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function") Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260917121136.32527-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions