[media] em28xx-audio: provide an error code when URB submit fails
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 17:34:13 +0000 (14:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 21:26:07 +0000 (19:26 -0200)
commitbf6e8aaa32081ff3f639334ca6b3ca0eaec5adc0
tree418ad803c12779b0fb1a75d51f7874b3f27e56ce
parent0191a2a28cdc34a57fee2c027c101a023f9a61f9
[media] em28xx-audio: provide an error code when URB submit fails

Instead of just saying:
[ 1646.412419] em2882/3 #0: submit of audio urb failed
Print the reason why it failed, to help debugging and fixing it.

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