diff options
| author | 2026-09-18 20:39:00 +0700 | |
|---|---|---|
| committer | 2026-09-28 17:36:53 +0100 | |
| commit | 4a0ab266cb1594f8c6aef3c79726476ad99618c5 (patch) | |
| tree | 4936c81122d6edf26c76211ec2feaa54e3fd1219 /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8192: fix error handling in APLL enable functions (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
