summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-21 12:24:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:52:57 -0300
commitada39630c758c5c3098f4fc1361103ea2bc1afe0 (patch)
treecfad77eb7e0f96256edc08c058ea7b39ee2d30b1 /drivers/media/video/saa7134/saa7134-input.c
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/saa7134-input.c')
-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 1a7cf9c8c68..dff33279ab3 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)
void ir_raw_decode_timer_end(unsigned long data)
{
struct saa7134_dev *dev = (struct saa7134_dev *)data;
- struct card_ir *ir = dev->remote;
- int rc;
- /*
- * FIXME: the IR key handling code should be called by the decoder,
- * after implementing the repeat mode
- */
- rc = ir_raw_event_handle(dev->remote->dev);
- if (rc >= 0) {
- ir_input_keydown(ir->dev, &ir->ir, rc);
- ir_input_nokey(ir->dev, &ir->ir);
- }
+ ir_raw_event_handle(dev->remote->dev);
}
void saa7134_ir_start(struct saa7134_dev *dev, struct card_ir *ir)