diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-03 11:52:00 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-25 18:39:13 +0100 |
| commit | 4a0f9566ae0c3ad32620254342b266f37f4757de (patch) | |
| tree | 544ab6485cf790c1281e84a848f607dbc43f2f38 /scripts/Makefile.thinlto | |
| parent | 7f05596bd4047e4623eeb1f3c6921d6f71481c3b (diff) | |
| download | linux-4a0f9566ae0c3ad32620254342b266f37f4757de.tar.gz linux-4a0f9566ae0c3ad32620254342b266f37f4757de.zip | |
ASoC: mediatek: mt8183: Fix clock handling in mux disable path
In the disable path of the appl*_mux_setting() functions,
clk_disable_unprepare() is called after clk_set_parent().
If clk_set_parent() fails, clk_disable_unprepare() is skipped,
potentially leaving one of the clocks enabled.
Remove the goto exit paths so that all teardown steps are attempted
and any errors are only reported.
Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver")
Suggested-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260903045203.175337-3-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
