upstream: [media] redrat3: errors on unplug
authorSean Young <sean@mess.org>
Mon, 8 Jul 2013 20:33:08 +0000 (17:33 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:31 +0000 (11:51 +0900)
commita2a8a43d4a03545b23b1d87610b5065061de12b9
tree5c912c2c15fb5d742fd6063d0cefba620c908344
parent5a3bc5d988edb93b1f49c1b78049627b0ba27a9f
upstream: [media] redrat3: errors on unplug

In an usb disconnect handler, the urbs have already been cancelled so the
attempt to disable the IR receiver just results in errors:
[  899.638862] redrat3 7-2:1.0: redrat3_send_cmd: Error sending rr3 cmd res -110, data 0
[  899.638870] redrat3 7-2:1.0: redrat3_disable_detector: detector status: 251, should be 0

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/redrat3.c