Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
@ 2026-07-15  8:29 Ajay Kumar Nandam
  2026-07-15  8:29 ` [PATCH 1/2] ASoC: codecs: lpass-wsa-macro: " Ajay Kumar Nandam
  2026-07-15  8:29 ` [PATCH 2/2] ASoC: codecs: lpass-va-macro: " Ajay Kumar Nandam
  0 siblings, 2 replies; 8+ messages in thread
From: Ajay Kumar Nandam @ 2026-07-15  8:29 UTC (permalink / raw)
  To: Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai
  Cc: linux-sound, linux-arm-msm, linux-kernel, Ajay Kumar Nandam

clk_set_rate() returns 0 on success or a negative errno on failure but
the WSA and VA macro probe functions were ignoring it. This series adds
return value checking and bails out of probe on failure.

This mirrors the same fix already posted for the TX and RX macros [1].

[1] https://lore.kernel.org/all/20260707-xo-sd-codec-tx-rx-v2-3-f61b4622f97f@oss.qualcomm.com/

Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
---
Ajay Kumar Nandam (2):
      ASoC: codecs: lpass-wsa-macro: check clk_set_rate() return value
      ASoC: codecs: lpass-va-macro: check clk_set_rate() return value

 sound/soc/codecs/lpass-va-macro.c  | 8 ++++++--
 sound/soc/codecs/lpass-wsa-macro.c | 9 +++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)
---
base-commit: cc2b5f627e8ccbae1188ef2d8be3e451d7f933a5
change-id: 20260715-xo-sd-codec-wsa-va-clk-set-rate-1f66a64165b9

Best regards,
--  
Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>


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

end of thread, other threads:[~2026-07-15 12:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15  8:29 [PATCH 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value Ajay Kumar Nandam
2026-07-15  8:29 ` [PATCH 1/2] ASoC: codecs: lpass-wsa-macro: " Ajay Kumar Nandam
2026-07-15  9:33   ` Cezary Rojewski
2026-07-15 12:21     ` Ajay Kumar Nandam
2026-07-15 10:06   ` Konrad Dybcio
2026-07-15  8:29 ` [PATCH 2/2] ASoC: codecs: lpass-va-macro: " Ajay Kumar Nandam
2026-07-15  9:35   ` Cezary Rojewski
2026-07-15 10:06   ` Konrad Dybcio

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