[media] rc: Fix input deadlock and transmit error in redrat3 driver
authorAndrew Vincer <Andrew.Vincer@redrat.co.uk>
Tue, 8 Nov 2011 15:43:45 +0000 (12:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 16:45:41 +0000 (14:45 -0200)
commitdbea1880368071dfa97d5e6aa4a368e7d0146a85
treef56ab48140d571ba564f469d34d721d1a4a98c58
parent9369cc96af2d5e093ed7f0ac9671f4b30d30af86
[media] rc: Fix input deadlock and transmit error in redrat3 driver

Fixed submit urb logic so hardware doesn't hang trying to transmit
signal data

Removed unneeded enable/disable detector commands in
redrat3_transmit_ir (the hardware does this anyway) and converted
arguments to unsigned as per 5588dc2

Signed-off-by: Andrew Vincer <andrew@redrat.co.uk>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/redrat3.c