diff options
| author | 2026-10-14 18:27:38 +0700 | |
|---|---|---|
| committer | 2026-10-15 23:20:04 +0100 | |
| commit | c23390ecf5c068976f25d9c8bfa8e298fa12ea3d (patch) | |
| tree | f5b461d9bc03d457287482e82d3d74d2391b785a /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8195: Use dev_err_probe() in mt8195_afe_init_clock() (diff) | |
ASoC: mediatek: mt8195: Fix register access clock error handling
Check the return value of mt8195_afe_enable_clk() when enabling the
register access clocks.
If enabling a clock fails, disable the clocks that were already
enabled and propagate the error to the caller
Fixes: 6746cc858259 ("ASoC: mediatek: mt8195: add platform driver")
Reviewed-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20261014112752.683032-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
