[PATCH 00/14] ASoC: codecs: propagate component resume cache sync failures

From: Pengpeng Hou

Date: Tue Sep 01 2026 - 21:38:59 EST


Commit 951af101c730 ("ASoC: report component resume callback errors")
made negative component resume results visible through the existing ASoC
component error helper while preserving best-effort resume.

These 14 component resume callbacks still discard the final
regcache_sync() result and return success. Return that result so the common
wrapper can report a failed cache replay with component context. None of
these callbacks has dependent work after the sync, so the patches do not
add rollback or retry semantics and do not change the successful path.

The issues were found by a tool we developed.
GPT-5 assisted with source-history review, patch construction and
changelog drafting.

No dynamic reproducer was produced. The series was not built or tested on
codec hardware. The 14 patches were manually reviewed, checked with
checkpatch.pl and applied in order to sound/for-next at 27a50351cbc8.

The shared error-reporting contract was discussed at:
https://lore.kernel.org/r/20260825085239.82282-1-pengpeng@xxxxxxxxxxx

Pengpeng Hou (14):
ASoC: adau17x1: return cache sync errors from resume
ASoC: ak4642: return cache sync errors from resume
ASoC: es8316: return cache sync errors from resume
ASoC: es8323: return cache sync errors from resume
ASoC: nau8540: return cache sync errors from resume
ASoC: rt1011: return cache sync errors from resume
ASoC: rt1016: return cache sync errors from resume
ASoC: rt1305: return cache sync errors from resume
ASoC: rt1308: return cache sync errors from resume
ASoC: rt1318: return cache sync errors from resume
ASoC: rt5616: return cache sync errors from resume
ASoC: rt5659: return cache sync errors from resume
ASoC: rt5660: return cache sync errors from resume
ASoC: rt5665: return cache sync errors from resume

sound/soc/codecs/adau17x1.c | 4 +---
sound/soc/codecs/ak4642.c | 3 +--
sound/soc/codecs/es8316.c | 4 +---
sound/soc/codecs/es8323.c | 4 +---
sound/soc/codecs/nau8540.c | 4 +---
sound/soc/codecs/rt1011.c | 4 +---
sound/soc/codecs/rt1016.c | 4 +---
sound/soc/codecs/rt1305.c | 4 +---
sound/soc/codecs/rt1308.c | 4 +---
sound/soc/codecs/rt1318.c | 3 +--
sound/soc/codecs/rt5616.c | 3 +--
sound/soc/codecs/rt5659.c | 4 +---
sound/soc/codecs/rt5660.c | 4 +---
sound/soc/codecs/rt5665.c | 4 +---
14 files changed, 14 insertions(+), 39 deletions(-)


base-commit: 27a50351cbc82e9f0811df417c5e7d2a72f60ef5
--
2.50.1 (Apple Git-155)