From: Mauro Carvalho Chehab Date: Sun, 12 Jan 2014 15:57:08 +0000 (-0300) Subject: [media] em28xx-audio: fix return code on device disconnect X-Git-Tag: v3.14-rc1~20^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229295f1d6713bc8c8ba900ba62bca03e34bba52;p=pandora-kernel.git [media] em28xx-audio: fix return code on device disconnect Alsa has an special non-negative return code to indicate device removal at snd_em28xx_capture_pointer(). Use it, instead of an error code. Reviewed-by: Frank Schäfer Tested-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed