diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-04 12:05:30 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-09 17:45:35 +0100 |
| commit | 446a8b7a03a4d666fb66fbf63163e0245e6c087e (patch) | |
| tree | 3e4bec68905f1d95b9266d06a75b70aff63953db /tools/perf/scripts/python/task-analyzer.py | |
| parent | 39dadd459c88d1eb5dc7ccbfc605cf078c162b96 (diff) | |
ASoC: codecs: rt5682-sdw: Propagate regcache_sync() errors
rt5682_io_init() and rt5682_dev_resume() both leave cache-only mode
before replaying cached register state with regcache_sync(). Both paths
ignore the sync result, which can hide a failed hardware restore.
Propagate regcache_sync() failures from both paths. The first hardware
init path now has a dedicated sync-failure cleanup that restores cache
bypass, cache-only, and dirty-cache state before balancing the runtime
PM reference. The resume path restores both regmaps to cache-only mode
and marks the main cache dirty before returning the error.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260704040530.40047-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
