upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:28 +0000 (11:54 +0900)
commitc26995f0a582054d850f33ca1843c60bfe63b480
tree0d9d64fc3433cf9180f78ad38d95558307e45500
parentb6b5b229aa5170a6b586d5051f7c20f77690f854
upstream: [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