diff options
| author | 2026-09-02 09:32:38 +0800 | |
|---|---|---|
| committer | 2026-09-24 23:47:38 +0100 | |
| commit | 7142c34ed92fddca7038787b8695d22c661dc6ec (patch) | |
| tree | 534de54f162a1b1da095846e11435dbad64b6d96 /scripts/Makefile.thinlto | |
| parent | ASoC: adau17x1: return cache sync errors from resume (diff) | |
ASoC: ak4642: return cache sync errors from resume
ak4642_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: a3a83d9a7cb0 ("ASoC: Add ak4642/ak4643 codec support")
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260902013256.93072-3-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
