[media] em28xx-audio: return -ENODEV when the device is disconnected
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 13:21:42 +0000 (10:21 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 13:57:06 +0000 (11:57 -0200)
commit8b1fa5798dec77d9d2cd81751772a580474aa17f
tree398f8ad4fe2802ea60a9767a88a7c3c25ad5490b
parent966f4163751b456f526a0b0dc8e6a9814df6abd9
[media] em28xx-audio: return -ENODEV when the device is disconnected

If em28xx is disconnected, return -ENODEV to all PCM callbacks.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c