mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: codecs: propagate sdw_write() errors from bus_config callbacks
@ 2026-10-16 14:33 Andrey Karelin
  2026-10-16 14:33 ` [PATCH 1/2] ASoC: codecs: wsa881x: propagate sdw_write() error from bus_config Andrey Karelin
  2026-10-16 14:33 ` [PATCH 2/2] ASoC: codecs: wcd-common: " Andrey Karelin
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Karelin @ 2026-10-16 14:33 UTC (permalink / raw)
  To: Srinivas Kandagatla, Mark Brown
  Cc: Andrey Karelin, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
	Pierre-Louis Bossart, Neil Armstrong, linux-sound, linux-arm-msm,
	linux-kernel, lvc-project

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().

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: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
-- 
2.56.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-16 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 14:33 [PATCH 0/2] ASoC: codecs: propagate sdw_write() errors from bus_config callbacks Andrey Karelin
2026-10-16 14:33 ` [PATCH 1/2] ASoC: codecs: wsa881x: propagate sdw_write() error from bus_config Andrey Karelin
2026-10-16 14:33 ` [PATCH 2/2] ASoC: codecs: wcd-common: " Andrey Karelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®