Skip to content
Commit 8ad10dc6 authored by Sachin Kamat's avatar Sachin Kamat Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Return meaningful error codes instead of -1 in format.c



Also, silences the following smatch warning:
sound/usb/format.c:170 parse_audio_format_rates_v1() warn:
returning -1 instead of -ENOMEM is sloppy

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 27b2a22c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment