aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-11-21 14:36:55 +0530
committerTakashi Iwai <tiwai@suse.de>2012-11-21 10:43:35 +0100
commit6cf95152079d7c6d7ba6442be45e02b24bbb1c65 (patch)
tree6facb32890a27b8ccd1265c6a2f42bd3e73e755a /sound/usb
parentALSA: PCM: Remove redundant null check before kfree (diff)
downloadlinux-dev-6cf95152079d7c6d7ba6442be45e02b24bbb1c65.tar.xz
linux-dev-6cf95152079d7c6d7ba6442be45e02b24bbb1c65.zip
ALSA: pcm: Fix return code in pcm_native.c
Return the value obtained from snd_pcm_hw_constraint_minmax() instead of -EINVAL. Silences the following smatch warning: sound/core/pcm_native.c:2003 snd_pcm_hw_constraints_complete() info: why not propagate 'err' from snd_pcm_hw_constraint_minmax() instead of -22? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions