summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-09-18 20:39:00 +0700
committerMark Brown <broonie@kernel.org>2026-09-28 17:36:53 +0100
commit4a0ab266cb1594f8c6aef3c79726476ad99618c5 (patch)
tree4936c81122d6edf26c76211ec2feaa54e3fd1219 /tools/perf/scripts/python
parent88760524ca995acd229c30ec69ced7d883a90a72 (diff)
ASoC: mediatek: mt8192: fix MCK clock error handling
If an error occurs after enabling 'm_sel_id' or 'div_clk_id' in mt8192_mck_enable(), the function returns directly without disabling the previously enabled clocks, leading to a resource leak. Fix this by jumping to proper cleanup labels to unwind enabled clocks on failure paths. Fixes: 125ab5d588b0 ("ASoC: mediatek: mt8192: add platform driver") Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260918133912.133799-5-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