]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (7474): support key repeat with dib0700 ir receiver
authorPatrick Boettcher <pb@linuxtv.org>
Sun, 30 Mar 2008 00:37:01 +0000 (21:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:56 +0000 (14:07 -0300)
commit58e6f95e613b37372a58fd504646ae1b1964c2ed
tree473c1ecb2fab26607bbd44b60e34e02a7493d104
parent6ca8f0b97473dcef3a754bab5239dcfcdd00b244
V4L/DVB (7474):  support key repeat with dib0700 ir receiver

This patch enables support for repeating last event when a key is holded
down with dib0700 devices. It works with rc5 and nec remotes.
It also fixes an annoying bug that floods kernel log with "Unknown key"
messages after each keypress. This happened because the driver was not
resetting infrared register after each poll so it kept polling last key
even if nothing was being pressed. Fixing this, (calling rc_setup after
each poll), permits to implement key repeat.

Signed-off-by: Filippo Argiolas <filippo.argiolas at gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/dib0700.h
drivers/media/dvb/dvb-usb/dib0700_core.c
drivers/media/dvb/dvb-usb/dib0700_devices.c