linux/drivers/media/video/saa7134
Mauro Carvalho Chehab 9f1547829a V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode
At raw_decode mode, the key is processed after the end of a timer. The
previous code resets the timer every time something is received at the IR
port. While this works fine with IR's that don't implement repeat, like
Avermedia RM-JX IR, it keeps waiting until keydown, on IR's that implement
NEC repeat command, like the Terratec yellow.

The solution is to change the behaviour to do the timeout after the first
received data.

The timeout is currently set to 15 ms, as it works fine with NEC protcocol.
It may need some adjustments to support other protocols and to better handle
spurious detections that may happen with some IR sensors.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-18 00:52:58 -03:00
..
Kconfig V4L/DVB (12463): Add support for Compro VideoMate S350 DVB-S PCI card. 2009-09-12 12:18:57 -03:00
Makefile V4L/DVB (11967): v4l: i2c modules must be linked before the v4l2 drivers 2009-06-16 19:07:41 -03:00
saa6752hs.c V4L/DVB (12487): Fix control AC-3 of the 6752HS 2009-09-12 12:19:11 -03:00
saa7134-alsa.c V4L/DVB: drivers/media/video: move dereference after NULL test 2010-05-18 00:47:16 -03:00
saa7134-cards.c V4L/DVB: saa7134: add capture boards Hawell HW-404M7 and HW-808M7 2010-05-18 00:47:19 -03:00
saa7134-core.c V4L/DVB (13966): DVB-T regression fix for saa7134 cards 2010-01-17 11:31:38 -02:00
saa7134-dvb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-empress.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-i2c.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-input.c V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode 2010-05-18 00:52:58 -03:00
saa7134-reg.h V4L/DVB (8019): New for I2S on for MPEG of saa7134_empress 2008-07-20 07:09:03 -03:00
saa7134-ts.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-tvaudio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-video.c V4L/DVB: saa7134 can capture 720x480 when capturing NTSC 2010-02-26 15:10:57 -03:00
saa7134.h V4L/DVB: saa7134: add capture boards Hawell HW-404M7 and HW-808M7 2010-05-18 00:47:19 -03:00