mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
ASoC: codecs: cs42l42-sdw: Propagate regcache_sync() errors
cs42l42_sdw_runtime_resume() first syncs LATCH_TO_VP and then syncs the full regmap, but currently ignores both return values and can report success after a failed replay. Check both sync operations, return the first error, and restore cache- only/dirty state on failure. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260704072712.91035-1-pengpeng@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6f5bb305ad
commit
a118fea777
1 changed files with 12 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue