diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-09-02 09:32:45 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-24 23:47:45 +0100 |
| commit | 3db3289178b94056753f7a8c6ee4ab4b232ee6a5 (patch) | |
| tree | db24706b12c6a7fe3893b736bf735d9600680265 /scripts/Makefile.thinlto | |
| parent | 30858325aa90380c6bcdde605214f1ebdbec568c (diff) | |
| download | linux-3db3289178b94056753f7a8c6ee4ab4b232ee6a5.tar.gz linux-3db3289178b94056753f7a8c6ee4ab4b232ee6a5.zip | |
ASoC: rt1308: return cache sync errors from resume
rt1308_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: 2b9def8c0d92 ("ASoC: rt1308: Add RT1308 amplifier driver")
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260902013256.93072-10-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
