commit | 229295f1d6713bc8c8ba900ba62bca03e34bba52 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sun Jan 12 12:57:08 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Jan 14 14:34:23 2014 -0200 |
tree | 6103e6cc81c1d015f946a6fbda6844435597ace2 | |
parent | e847022a8e1d732da96ddbd8d4170500f4c3f8b1 [diff] |
[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 <fschaefer.oss@googlemail.com> Tested-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>