linux/drivers/media/rc
Mariusz Białończyk 21d3301410 [media] ir-nec-decoder: fix repeat key issue
Fixing the problem with NEC protocol and repeating keys under the following
circumstances. The problem occurs when there is a repeat code without
properly decoded scancode. This leads to repeat the wrong (last decoded)
scancode.

An example from real life:
I am pressing volume down, then several minutes later i am pressing
volume up, but the real scancode is wrongly decoded and only a repeat
event is emitted, so as a result volume is going down while i am holding
volume up button.

The patch fixes above problem using rc_keyup timeout (as pointed by Mauro).
It just prevents key repeats if they appear after rc_keyup.

Signed-off-by: Mariusz Białończyk <manio@skyboo.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-31 13:46:01 -02:00
..
keymaps [media] saa7134: Add support for Compro VideoMate Vista M1F 2010-12-29 08:17:17 -02:00
Kconfig [media] rc-core: add loopback driver 2010-12-29 08:16:58 -02:00
Makefile [media] rc-core: add loopback driver 2010-12-29 08:16:58 -02:00
ene_ir.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ene_ir.h [media] ir-core: make struct rc_dev the primary interface 2010-12-29 08:16:37 -02:00
imon.c [media] media: Remove unnecessary casts of usb_get_intfdata 2010-12-29 08:16:58 -02:00
ir-jvc-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-lirc-codec.c [media] rc: ir-lirc-codec: fix potential integer overflow 2010-12-29 08:17:02 -02:00
ir-nec-decoder.c [media] ir-nec-decoder: fix repeat key issue 2010-12-31 13:46:01 -02:00
ir-raw.c [media] rc-core: fix some leftovers from the renaming patches 2010-12-29 08:16:54 -02:00
ir-rc5-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-rc5-sz-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-rc6-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
ir-sony-decoder.c [media] rc: Rename remote controller type to rc_type instead of ir_type 2010-12-29 08:16:50 -02:00
lirc_dev.c [media] media: rc: lirc_dev: check kobject_set_name() result 2010-12-29 08:16:58 -02:00
mceusb.c [media] rc: fix sysfs entry for mceusb and streamzap 2010-12-29 08:16:57 -02:00
nuvoton-cir.c [media] drivers/media: nuvoton: fix chip id probe v2 2010-12-29 08:16:57 -02:00
nuvoton-cir.h [media] ir-core: make struct rc_dev the primary interface 2010-12-29 08:16:37 -02:00
rc-core-priv.h [media] rc-core: fix some leftovers from the renaming patches 2010-12-29 08:16:54 -02:00
rc-loopback.c [media] rc-core: add loopback driver 2010-12-29 08:16:58 -02:00
rc-main.c [media] rc-core: Initialize return value to zero 2010-12-29 08:16:58 -02:00
streamzap.c [media] streamzap: Fix a compilation warning when compiled builtin 2010-12-29 08:17:14 -02:00
winbond-cir.c [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00