diff options
| author | 2026-10-14 18:27:39 +0700 | |
|---|---|---|
| committer | 2026-10-15 23:20:04 +0100 | |
| commit | f18c0a8e528eb8844ee362324220ab8df3664afe (patch) | |
| tree | 90670d3322616e4e2e374bd8904d7968050dab2e /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8195: Fix register access clock error handling (diff) | |
ASoC: mediatek: mt8195: Fix timing system clock error handling
Check the return value of mt8195_afe_enable_clk() when enabling the
timing system clocks.
If enabling a clock fails, disable the clocks that were already
enabled and propagate the error to the caller. In
mt8195_afe_enable_main_clock(), return the error instead of continuing
with AFE clock enable.
Fixes: 6746cc858259 ("ASoC: mediatek: mt8195: add platform driver")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20261014112752.683032-5-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
