diff options
Diffstat (limited to 'drivers/media/video/tm6000/tm6000-input.c')
-rw-r--r-- | drivers/media/video/tm6000/tm6000-input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/tm6000/tm6000-input.c b/drivers/media/video/tm6000/tm6000-input.c index 859eb90e4d56..e80b7e190471 100644 --- a/drivers/media/video/tm6000/tm6000-input.c +++ b/drivers/media/video/tm6000/tm6000-input.c | |||
@@ -168,7 +168,6 @@ static void tm6000_ir_urb_received(struct urb *urb) | |||
168 | struct tm6000_IR *ir = dev->ir; | 168 | struct tm6000_IR *ir = dev->ir; |
169 | struct tm6000_ir_poll_result poll_result; | 169 | struct tm6000_ir_poll_result poll_result; |
170 | char *buf; | 170 | char *buf; |
171 | int rc; | ||
172 | 171 | ||
173 | dprintk(2, "%s\n",__func__); | 172 | dprintk(2, "%s\n",__func__); |
174 | if (urb->status < 0 || urb->actual_length <= 0) { | 173 | if (urb->status < 0 || urb->actual_length <= 0) { |
@@ -192,7 +191,7 @@ static void tm6000_ir_urb_received(struct urb *urb) | |||
192 | dprintk(1, "%s, scancode: 0x%04x\n",__func__, poll_result.rc_data); | 191 | dprintk(1, "%s, scancode: 0x%04x\n",__func__, poll_result.rc_data); |
193 | rc_keydown(ir->rc, poll_result.rc_data, 0); | 192 | rc_keydown(ir->rc, poll_result.rc_data, 0); |
194 | 193 | ||
195 | rc = usb_submit_urb(urb, GFP_ATOMIC); | 194 | usb_submit_urb(urb, GFP_ATOMIC); |
196 | /* | 195 | /* |
197 | * Flash the led. We can't do it here, as it is running on IRQ context. | 196 | * Flash the led. We can't do it here, as it is running on IRQ context. |
198 | * So, use the scheduler to do it, in a few ms. | 197 | * So, use the scheduler to do it, in a few ms. |