[PATCH RESEND 0/2] ASoC: codecs: propagate sdw_write() errors from bus_config callbacks
From: Andrey Karelin
Date: Wed Nov 18 2026 - 06:46:14 EST
wsa881x_bus_config() and wcd_bus_config() (shared by the WCD938x and
WCD939x SoundWire drivers) program the clock divider for the next bank
with sdw_write() but ignore its result and always return 0, so a failed
write is never reported to sdw_notify_config(). The other SoundWire
codec drivers that implement bus_config already return the error.
Both patches simply return the result of sdw_write().
Resending the series unchanged, only rebased onto current mainline. The
original posting got no response, probably because it went out
right before the v7.4 merge window:
https://lore.kernel.org/all/20261016143341.417876-1-a.karelin@xxxxxxxx/
Andrey Karelin (2):
ASoC: codecs: wsa881x: propagate sdw_write() error from bus_config
ASoC: codecs: wcd-common: propagate sdw_write() error from bus_config
sound/soc/codecs/wcd-common.c | 4 +---
sound/soc/codecs/wsa881x.c | 6 ++----
2 files changed, 3 insertions(+), 7 deletions(-)
base-commit: 20eef29b7c8465ac98d7dd6d6f2ac07a8d8056ca
--
2.56.1