diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-12 19:57:08 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 20:34:23 +0400 |
commit | 229295f1d6713bc8c8ba900ba62bca03e34bba52 (patch) | |
tree | 6103e6cc81c1d015f946a6fbda6844435597ace2 /drivers/pinctrl/sirf | |
parent | e847022a8e1d732da96ddbd8d4170500f4c3f8b1 (diff) | |
download | linux-229295f1d6713bc8c8ba900ba62bca03e34bba52.tar.xz |
[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>
Diffstat (limited to 'drivers/pinctrl/sirf')
0 files changed, 0 insertions, 0 deletions