From: Takashi Sakamoto Date: Fri, 27 Feb 2015 00:39:32 +0000 (+0900) Subject: ALSA: oxfw: fix a condition and return code in start_stream() X-Git-Tag: omap-for-v4.1/wl12xx-dt~57^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2b14c0bc510c6a8f67a4f36049deefe5d99a537;p=pandora-kernel.git ALSA: oxfw: fix a condition and return code in start_stream() The amdtp_stream_wait_callback() doesn't return minus value and the return code is not for error code. This commit fixes with a propper condition and an error code. Fixes: f3699e2c7745 ('ALSA: oxfw: Change the way to start stream') Reported-by: Dan Carpenter Signed-off-by: Takashi Sakamoto Cc: # 3.19+ Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed