diff options
| author | 2026-09-18 20:38:59 +0700 | |
|---|---|---|
| committer | 2026-09-28 17:36:52 +0100 | |
| commit | 88760524ca995acd229c30ec69ced7d883a90a72 (patch) | |
| tree | 3851d9ec7fa765f2a20b54ff8c148f4ccc15926f /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8192: fix AFE clock error handling (diff) | |
ASoC: mediatek: mt8192: fix error handling in APLL enable functions
If a clock operation fails in mt8192_apll1_enable() or apll2_enable(),
the functions return without checking the return value of mux settings or
unwinding previously enabled clocks and MUX configurations.
Fix this by checking the return value of apll1_mux_setting() and
apll2_mux_setting(), and adding proper unwind handling on failure.
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-4-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
