diff options
| author | 2026-09-03 12:11:44 +0700 | |
|---|---|---|
| committer | 2026-09-08 15:12:23 +0100 | |
| commit | d70109f5510b423e72894dadfbab27087a7b26b0 (patch) | |
| tree | edf405e57cbef9d4f1c785ee43d9cdfca5d5e67a /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8186: Fix APLL mux setting error handling (diff) | |
ASoC: mediatek: mt8186: 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: 55b423d5623c ("ASoC: mediatek: mt8186: support audio clock control in platform driver")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260903051150.178057-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
