diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-03 12:11:46 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-08 15:12:31 +0100 |
| commit | cb552c6b9abe02f254d44d8c29d0dce1ae21f69f (patch) | |
| tree | b73b90d74724c44ccfb8befd3b60c78960c1ffde /tools/perf/scripts/python/stackcollapse.py | |
| parent | eb72060a1966baf9a6ed753186621ee6e39dc889 (diff) | |
ASoC: mediatek: mt8186: Fix APLL enable error handling
Currently, the mt8186_apll*_enable() functions call mux_setting(afe, true)
but do not check its return value to handle failures.
In addition, the cleanup paths of mt8186_apll*_enable() do not call
mux_setting(afe, false) when the enable operation fails, while the
mt8186_apll*_disable() functions do.
Add error handling for apll*_mux_setting() and call mux_setting(afe, false)
in the cleanup paths when mt8186_apll*_enable() fails.
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-5-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
