From: Sachin Kamat Date: Wed, 21 Nov 2012 09:06:55 +0000 (+0530) Subject: ALSA: pcm: Fix return code in pcm_native.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf95152079d7c6d7ba6442be45e02b24bbb1c65;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed