]> git.karo-electronics.de Git - linux-beck.git/commit
[media] redrat3: errors on unplug
authorSean Young <sean@mess.org>
Mon, 8 Jul 2013 20:33:08 +0000 (17:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 30 Jul 2013 19:50:30 +0000 (16:50 -0300)
commit6026ce07dca045a9edf4fb651a805b4574186d80
tree369fce5bb8d51ec64e8d71485b03554ff89ed2a2
parentfde4796825de84c5114500e6a09ea8b346b93c6b
[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