diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2025-06-23 17:26:27 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-06-24 11:11:02 +0300 |
commit | b272f42547d85356b035e46273ddaf2aa4e161b8 (patch) | |
tree | 8e8e23f3b6108cfc859a2aef246f98f4f7852173 /scripts/lib/kdoc/kdoc_output.py | |
parent | 41c66461cb2e8d3934a5395f27e572ebe63696b4 (diff) | |
download | linux-b272f42547d85356b035e46273ddaf2aa4e161b8.tar.xz |
ALSA: qc_audio_offload: Fix missing error code in prepare_qmi_response()
When snd_soc_usb_find_priv_data() fails, return failure instead of
success. While we are at it also use direct returns at first few error
paths where there is no additional cleanup needed.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/Z_40qL4JnyjR4j0O@stanley.mountain/
Fixes: 326bbc348298 ("ALSA: usb-audio: qcom: Introduce QC USB SND offloading support")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://patch.msgid.link/20250623142639.2938056-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions