mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
ASoC: codecs: lpass-{wsa,va}-macro: check clk_set_rate() return value
Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com> says: 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/ Link: https://patch.msgid.link/20260715-xo-sd-codec-wsa-va-clk-set-rate-v2-0-16ca64c2b929@oss.qualcomm.com
This commit is contained in:
commit
7619cfb830
2 changed files with 13 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue