diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-03 11:51:59 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-25 18:39:13 +0100 |
| commit | 7f05596bd4047e4623eeb1f3c6921d6f71481c3b (patch) | |
| tree | 95f7fe381fd462a796f15f55ecc6cf9886f129ad /scripts/Makefile.thinlto | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-7f05596bd4047e4623eeb1f3c6921d6f71481c3b.tar.gz linux-7f05596bd4047e4623eeb1f3c6921d6f71481c3b.zip | |
ASoC: mediatek: mt8183: Fix wrong clock cleanup on clk_set_parent() failure
In mt8183_afe_enable_clock(), when clk_set_parent() fails, the current
error path incorrectly cleans up the previously enabled clock instead of
the clock used by clk_set_parent().
Fix the error path to clean up the correct clock when clk_set_parent()
fails.
Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260903045203.175337-2-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
