diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-03 11:52:01 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-25 18:39:14 +0100 |
| commit | 30cf48383006579d7cd35380cc6e766260b72bff (patch) | |
| tree | fbb7ca0fdb0f8803c9e0b1053ae72e4acc64c4fc /scripts/Makefile.thinlto | |
| parent | 4a0f9566ae0c3ad32620254342b266f37f4757de (diff) | |
| download | linux-30cf48383006579d7cd35380cc6e766260b72bff.tar.gz linux-30cf48383006579d7cd35380cc6e766260b72bff.zip | |
ASoC: mediatek: mt8183: Fix APLL enable error handling
Currently, the mt8183_apll*_enable() functions call mux_setting(afe, true)
but do not check its return value to handle failures.
In addition, the cleanup paths of mt8183_apll*_enable() do not call
mux_setting(afe, false) when the enable operation fails, while the
mt8183_apll*_disable() functions do.
Add error handling for apll*_mux_setting() and call mux_setting(afe, false)
in the cleanup paths when mt8183_apll*_enable() fails.
Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260903045203.175337-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
