linux/drivers/media/usb/au0828
Shuah Khan eb336eab3e [media] media/au0828: Fix IR stop, poll to not access device during disconnect
au0828 IR stop and poll routines continue to access device
while usb disconnect is in progress. There is small window
between device disconnect and usb interface is set to null.
This results in filling the log with several of the following
error messages. Fix it to detect device disconnect condition
and avoid device access.

Nov 20 18:58:02 anduin kernel: [  102.949819] au0828: au0828_usb_disconnect()
Nov 20 18:58:02 anduin kernel: [  102.950046] au0828: send_control_msg() Failed sending control message, error -71.
Nov 20 18:58:02 anduin kernel: [  102.950052] au0828: send_control_msg() Failed sending control message, error -19.
Nov 20 18:58:02 anduin kernel: [  102.950056] au0828: send_control_msg() Failed sending control message, error -19.
Nov 20 18:58:02 anduin kernel: [  102.950061] au0828: send_control_msg() Failed sending control message, error -19.
Nov 20 18:58:02 anduin kernel: [  102.950065] au0828: recv_control_msg() Failed receiving control message, error -19.
Nov 20 18:58:02 anduin kernel: [  102.950069] au0828: recv_control_msg() Failed receiving control message, error -19.
Nov 20 18:58:02 anduin kernel: [  102.950072] au0828: recv_control_msg() Failed receiving control message, error -19.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-11-25 13:32:49 -02:00
..
Kconfig [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00
Makefile [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00
au0828-cards.c [media] sound: simplify au0828 quirk table 2014-10-30 09:23:57 -02:00
au0828-cards.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
au0828-core.c [media] media/au0828: Fix IR stop, poll to not access device during disconnect 2014-11-25 13:32:49 -02:00
au0828-dvb.c [media] xc5000: add IF output level control 2014-11-03 12:24:52 -02:00
au0828-i2c.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-input.c [media] media/au0828: Fix IR stop, poll to not access device during disconnect 2014-11-25 13:32:49 -02:00
au0828-reg.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
au0828-vbi.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-video.c [media] au0828: add pr_info to track au0828 suspend/resume code 2014-08-21 15:25:08 -05:00
au0828.h [media] au0828: explicitly identify boards with analog TV 2014-09-22 17:51:19 -03:00