diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-21 16:24:24 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 05:52:57 +0200 |
commit | ada39630c758c5c3098f4fc1361103ea2bc1afe0 (patch) | |
tree | cfad77eb7e0f96256edc08c058ea7b39ee2d30b1 /drivers/media/video/saa7134/saa7134-input.c | |
parent | V4L/DVB: ir-core: add two functions to report keyup/keydown events (diff) | |
download | linux-ada39630c758c5c3098f4fc1361103ea2bc1afe0.tar.xz linux-ada39630c758c5c3098f4fc1361103ea2bc1afe0.zip |
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.c | 12 |
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) 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) |