diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-21 17:25:58 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-23 17:27:46 +0100 |
| commit | 2df329044c614fce2d0f4f46ddba276ec3aa4ae5 (patch) | |
| tree | 7f24ac922dba83d34725a0cc6692ae25a6ecf194 /tools/perf/scripts/python/bin | |
| parent | 32ac6377cec13e0b1727507cf6cd9ff808a81e42 (diff) | |
ASoC: codecs: rt721-sdca-sdw: Simplify regcache error handling in resume
Calling regcache_mark_dirty() on error is redundant as regcache_sync()
retains dirty state on failure, and any write in cache_only mode marks
the cache dirty anyway.
Restore cache_only directly on error for active regmaps and drop the
redundant regcache_mark_dirty() calls. This also removes goto labels
to prepare for guard cleanup.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260721102600.523199-28-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
