[PATCH v2 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value

Ajay Kumar Nandam posted 2 patches 1 week, 3 days ago
sound/soc/codecs/lpass-va-macro.c  | 8 ++++++--
sound/soc/codecs/lpass-wsa-macro.c | 9 +++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
[PATCH v2 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
Posted by Ajay Kumar Nandam 1 week, 3 days ago
clk_set_rate() returns 0 on success or a negative errno on failure but
the WSA and VA macro probe functions are 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>
---
Changes in v2:
- Use present tense in commit messages
- Carry Reviewed-by tag from Konrad
- Link to v1: https://patch.msgid.link/20260715-xo-sd-codec-wsa-va-clk-set-rate-v1-0-f0c713ff0b4e@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>
Re: [PATCH v2 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
Posted by Mark Brown 5 days, 1 hour ago
On Wed, 15 Jul 2026 17:25:12 +0530, Ajay Kumar Nandam wrote:
> ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
> 
> clk_set_rate() returns 0 on success or a negative errno on failure but
> the WSA and VA macro probe functions are 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].
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/2] ASoC: codecs: lpass-wsa-macro: check clk_set_rate() return value
      https://git.kernel.org/broonie/sound/c/6173e18dd47c
[2/2] ASoC: codecs: lpass-va-macro: check clk_set_rate() return value
      https://git.kernel.org/broonie/sound/c/4fddda16f939

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH v2 0/2] ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
Posted by Cezary Rojewski 1 week, 3 days ago
On 7/15/2026 1:55 PM, Ajay Kumar Nandam wrote:
> clk_set_rate() returns 0 on success or a negative errno on failure but
> the WSA and VA macro probe functions are 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>
> ---
> Changes in v2:
> - Use present tense in commit messages
> - Carry Reviewed-by tag from Konrad
> - Link to v1: https://patch.msgid.link/20260715-xo-sd-codec-wsa-va-clk-set-rate-v1-0-f0c713ff0b4e@oss.qualcomm.com
Not CC'ing reviewers is frowned upon on the list.

Nonetheless, thank you for addressing the comments. For the series:

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>