diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-04 12:04:18 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-09 17:45:34 +0100 |
| commit | 39dadd459c88d1eb5dc7ccbfc605cf078c162b96 (patch) | |
| tree | 073fd0657f6670c173a3a8d102cee96b2b5be510 /tools/perf/scripts/python/bin | |
| parent | a407338ca621abe7fbc8feba2a4f432d8818b876 (diff) | |
ASoC: codecs: rt1320-sdw: Propagate regcache_sync() errors
rt1320_dev_resume() clears cache-only mode for both regmaps and
replays cached register state into the device. Both regcache_sync()
calls currently ignore their return values, so resume can report
success even if either replay failed.
Check both sync operations and return the first error. On failure,
restore both regmaps to cache-only mode and mark both caches dirty,
so a later successful resume attempt starts from a coherent suspended
cache state instead of a partially live pair of regmaps.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260704040418.28181-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
