diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-18 20:38:59 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-28 17:36:52 +0100 |
| commit | 88760524ca995acd229c30ec69ced7d883a90a72 (patch) | |
| tree | 3851d9ec7fa765f2a20b54ff8c148f4ccc15926f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7c54781e6e60681af8d0858148d613becb582328 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
