linux-sg2042/drivers/media/rc
Sean Young 67f0f15ad5 media: rc: partial revert of "media: rc: per-protocol repeat period"
Since commit d57ea877af ("media: rc: per-protocol repeat period"), most
IR protocols have a lower keyup timeout. This causes problems on the
ite-cir, which has default IR timeout of 200ms.

Since the IR decoders read the trailing space, with a IR timeout of 200ms,
the last keydown will have at least a delay of 200ms. This is more than
the protocol timeout of e.g. rc-6 (which is 164ms). As a result the last
IR will be interpreted as a new keydown event, and we get two keypresses.

Revert the protocol timeout to 250ms, except for cec which needs a timeout
of 550ms.

Fixes: d57ea877af ("media: rc: per-protocol repeat period")

Cc: <stable@vger.kernel.org> # 4.14
Reported-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Sean Young <sean@mess.org>
Tested-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-11-30 04:40:23 -05:00
..
img-ir media: img-ir-hw: fix one kernel-doc comment 2017-11-27 10:09:03 -05:00
keymaps
Kconfig
Makefile
ati_remote.c
ene_ir.c
ene_ir.h
fintek-cir.c
fintek-cir.h
gpio-ir-recv.c
gpio-ir-tx.c
igorplugusb.c
iguanair.c
imon.c media: imon: don't use kernel-doc "/**" markups 2017-11-27 10:35:35 -05:00
ir-hix5hd2.c
ir-jvc-decoder.c media: rc: fix kernel-doc parameter names 2017-11-30 04:18:52 -05:00
ir-lirc-codec.c media: rc: fix kernel-doc parameter names 2017-11-30 04:18:52 -05:00
ir-mce_kbd-decoder.c
ir-nec-decoder.c media: ir-nec-decoder: fix kernel-doc parameters 2017-11-27 10:35:34 -05:00
ir-rc5-decoder.c
ir-rc6-decoder.c
ir-rx51.c
ir-sanyo-decoder.c media: rc: fix kernel-doc parameter names 2017-11-30 04:18:52 -05:00
ir-sharp-decoder.c media: rc: fix kernel-doc parameter names 2017-11-30 04:18:52 -05:00
ir-sony-decoder.c
ir-spi.c
ir-xmp-decoder.c media: rc: fix kernel-doc parameter names 2017-11-30 04:18:52 -05:00
ite-cir.c
ite-cir.h
lirc_dev.c
mceusb.c
meson-ir.c
mtk-cir.c
nuvoton-cir.c
nuvoton-cir.h
pwm-ir-tx.c
rc-core-priv.h
rc-ir-raw.c media: rc-ir-raw: cleanup kernel-doc markups 2017-11-27 10:35:33 -05:00
rc-loopback.c
rc-main.c media: rc: partial revert of "media: rc: per-protocol repeat period" 2017-11-30 04:40:23 -05:00
redrat3.c
serial_ir.c
sir_ir.c
st_rc.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
streamzap.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
sunxi-cir.c
tango-ir.c
ttusbir.c
winbond-cir.c
zx-irdec.c