]> git.karo-electronics.de Git - mv-sheeva.git/commit
V4L/DVB: rc-core: increase repeat time
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 8 Sep 2010 15:58:12 +0000 (12:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:21:53 +0000 (22:21 -0300)
commit04cab131ce2a267b6777a98d68fbc0cae44d4ba8
treec00fcae237f9cf1f0e0721a6ad39e1f2eee5402d
parent3bfb317f97cfddbbec67bbe8e35ad38af3507397
V4L/DVB: rc-core: increase repeat time

As reported by Anton Blanchard <anton@samba.org>, double IR events on
2.6.36-rc2 and a DViCO FusionHDTV DVB-T Dual Express are happening:

[ 1351.032084] ir_keydown: i2c IR (FusionHDTV): key down event, key 0x0067, scancode 0x0051
[ 1351.281284] ir_keyup: keyup key 0x0067

ie one key down event and one key up event 250ms later.

So, we need to increase the repeat timeout, to avoid this bug to hit.

As we're doing it at core, this fix is not needed anymore at dib0700 driver.

Thanks-to: Anton Blanchard <anton@samba.org>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-keytable.c
drivers/media/dvb/dvb-usb/dib0700_core.c