diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-09-02 09:32:50 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-24 23:47:50 +0100 |
| commit | 9f2933d9a437302d5ae32eb9022efef049d8ab22 (patch) | |
| tree | 4b502a3052d0a4b000b89a1109aab5851c4cf09d /scripts/Makefile.thinlto | |
| parent | 70fe8997b03078ff8253d985a161fef310f7c346 (diff) | |
| download | linux-9f2933d9a437302d5ae32eb9022efef049d8ab22.tar.gz linux-9f2933d9a437302d5ae32eb9022efef049d8ab22.zip | |
ASoC: rt5665: return cache sync errors from resume
rt5665_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: 33ada14a26c8 ("ASoC: add rt5665 codec driver")
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260902013256.93072-15-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
