diff options
| author | 2026-09-18 20:39:06 +0700 | |
|---|---|---|
| committer | 2026-09-28 17:36:59 +0100 | |
| commit | d9e264741b041fc9dffc555bc1ab68708658cefd (patch) | |
| tree | 457dee3b2ad81ca6dc473ee08298bdd063d1be1c /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8192: check return values in mt8192_afe_gpio_init() (diff) | |
ASoC: mediatek: mt8192: Handle regcache_sync() failure in runtime resume
Currently, the return value of regcache_sync() in
mt8192_afe_runtime_resume() is ignored. If regcache_sync() fails, the
function continues execution with clocks enabled and regcache out of sync.
Fix this by checking the return value of regcache_sync(). On failure,
restore regcache to cache-only mode and disable the clocks enabled
earlier in the function.
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-11-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
