diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-09-02 09:32:41 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-24 23:47:41 +0100 |
| commit | 0bf2b3411537e8e4d9c03702646a9fc87198d4b1 (patch) | |
| tree | 9abafd1f5a91057cc6e27a06adea1284e72ac95a /tools/perf/scripts/python | |
| parent | b7c3f95915a9e791fc8721ce1ecc037f7a55d58c (diff) | |
ASoC: nau8540: return cache sync errors from resume
nau8540_resume() restores cached registers during component resume but
discards the regcache_sync() result and returns success. A failed replay
can therefore leave the hardware register state stale without reaching
the component error reporting path.
Return the cache synchronization result. The ASoC component wrapper
reports a negative callback result and retains the established
best-effort resume state, so this adds observability without introducing
rollback or retry semantics.
The successful resume path is unchanged.
The issue was found by a tool we developed.
Fixes: c1644e3de45d ("ASoC: nau8540: new codec driver")
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260902013256.93072-6-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
