aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-21 11:24:24 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:52:57 -0400
commitada39630c758c5c3098f4fc1361103ea2bc1afe0 (patch)
treecfad77eb7e0f96256edc08c058ea7b39ee2d30b1 /drivers/media/video/saa7134
parent6660de568d164e4eda6617dadcb999c96e62203f (diff)
V4L/DVB: ir-core/saa7134: Move ir keyup/keydown code to the ir-core
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index 1a7cf9c8c68c..dff33279ab33 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -425,18 +425,8 @@ static void saa7134_input_timer(unsigned long data)
425void ir_raw_decode_timer_end(unsigned long data) 425void ir_raw_decode_timer_end(unsigned long data)
426{ 426{
427 struct saa7134_dev *dev = (struct saa7134_dev *)data; 427 struct saa7134_dev *dev = (struct saa7134_dev *)data;
428 struct card_ir *ir = dev->remote;
429 int rc;
430 428
431 /* 429 ir_raw_event_handle(dev->remote->dev);
432 * FIXME: the IR key handling code should be called by the decoder,
433 * after implementing the repeat mode
434 */
435 rc = ir_raw_event_handle(dev->remote->dev);
436 if (rc >= 0) {
437 ir_input_keydown(ir->dev, &ir->ir, rc);
438 ir_input_nokey(ir->dev, &ir->ir);
439 }
440} 430}
441 431
442void saa7134_ir_start(struct saa7134_dev *dev, struct card_ir *ir) 432void saa7134_ir_start(struct saa7134_dev *dev, struct card_ir *ir)