diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-18 20:39:06 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-28 17:36:59 +0100 |
| commit | d9e264741b041fc9dffc555bc1ab68708658cefd (patch) | |
| tree | 457dee3b2ad81ca6dc473ee08298bdd063d1be1c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7cca184ad434436e8f4648f71756bab0c3593ed9 (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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
