linux/drivers/media/rc
Sean Young c97345cd8c media: sunxi-cir: ensure IR is handled when it is continuous
commit 3f56df4c8f upstream.

If a user holds a button down on a remote, then no ir idle interrupt will
be generated until the user releases the button, depending on how quickly
the remote repeats. No IR is processed until that point, which means that
holding down a button may not do anything.

This also resolves an issue on a Cubieboard 1 where the IR receiver is
picking up ambient infrared as IR and spews out endless
"rc rc0: IR event FIFO is full!" messages unless you choose to live in
the dark.

Cc: stable@vger.kernel.org
Tested-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:26:07 +01:00
..
img-ir media: img-ir: Drop METAG dependency 2018-03-05 16:34:25 +00:00
keymaps MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
ati_remote.c media: ati_remote: sanity check for both endpoints 2020-10-30 10:38:26 +01:00
bpf-lirc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-08-07 11:02:05 -07:00
ene_ir.c media: rc: Convert timers to use timer_setup() 2017-10-31 06:31:44 -04:00
ene_ir.h
fintek-cir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
fintek-cir.h
gpio-ir-recv.c [media] media: rc: fix gpio-ir-receiver build failure 2017-10-05 10:16:21 -03:00
gpio-ir-tx.c media: gpio-ir-tx: improve precision of transmitted signal due to scheduling 2020-09-03 11:24:23 +02:00
igorplugusb.c media: rc: Convert timers to use timer_setup() 2017-10-31 06:31:44 -04:00
iguanair.c media: iguanair: fix endpoint sanity check 2020-02-11 04:33:51 -08:00
imon_raw.c media: rc: new driver for early iMon device 2018-03-21 11:11:04 -04:00
imon.c media: imon: invalid dereference in imon_touch_event 2019-12-01 09:17:40 +01:00
ir-hix5hd2.c media: rc: ir-hix5hd2: fix error handling of clk_prepare_enable() 2018-02-14 13:35:05 -05:00
ir-imon-decoder.c media: rc: imon decoder: support the stick 2018-05-04 08:22:09 -04:00
ir-jvc-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ir-mce_kbd-decoder.c media: rc: decoders do not need to check for transitions 2018-05-14 07:16:24 -04:00
ir-nec-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ir-rc5-decoder.c media: rc: decoders do not need to check for transitions 2018-05-14 07:16:24 -04:00
ir-rc6-decoder.c media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote 2019-11-24 08:20:11 +01:00
ir-rx51.c ARM: OMAP2+: Drop unused pm-noop 2018-04-16 10:22:40 -07:00
ir-sanyo-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ir-sharp-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ir-sony-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ir-spi.c media: spi: IR LED: add missing of table registration 2019-07-26 09:13:59 +02:00
ir-xmp-decoder.c media: rc: set timeout to smallest value required by enabled protocols 2018-04-20 09:14:31 -04:00
ite-cir.c media: rc: ite-cir: lower timeout and extend allowed timeout range 2018-05-14 07:17:28 -04:00
ite-cir.h media: rc: ite-cir: lower timeout and extend allowed timeout range 2018-05-14 07:17:28 -04:00
Kconfig media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
lirc_dev.c media: rc: IR signal for Panasonic air conditioner too long 2020-04-13 10:45:01 +02:00
Makefile media: rc: introduce BPF_PROG_LIRC_MODE2 2018-05-30 12:38:40 +02:00
mceusb.c media: mceusb: fix (eliminate) TX IR signal length limit 2019-10-05 13:09:46 +02:00
meson-ir.c media: rc: meson-ir: lower timeout and make configurable 2018-03-21 13:59:38 -04:00
mtk-cir.c media: mtk-cir: lower de-glitch counter for rc-mm protocol 2019-10-05 13:09:35 +02:00
nuvoton-cir.c media: rc: nuvoton: Keep device enabled during reg init 2018-05-28 17:39:49 -04:00
nuvoton-cir.h media: rc: nuvoton: remove rudimentary transmit functionality 2017-08-20 09:47:57 -04:00
pwm-ir-tx.c media: rc: pwm-ir-tx: add new driver 2017-08-20 09:46:18 -04:00
rc-core-priv.h media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
rc-ir-raw.c media: rc: be less noisy when driver misbehaves 2018-06-27 10:03:45 -04:00
rc-loopback.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-main.c media: rc: uevent sysfs file races with rc_unregister_device() 2020-09-09 19:04:30 +02:00
redrat3.c [media] media: rc: constify usb_device_id 2017-10-04 15:06:09 -03:00
serial_ir.c media: serial_ir: Fix use-after-free in serial_ir_init_module 2019-05-31 06:46:04 -07:00
sir_ir.c media: rc: sir_ir: detect presence of port 2017-11-15 08:57:34 -05:00
st_rc.c media: st_rc: Don't stay on an IRQ handler forever 2018-04-17 05:50:05 -04:00
streamzap.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
sunxi-cir.c media: sunxi-cir: ensure IR is handled when it is continuous 2020-12-30 11:26:07 +01:00
tango-ir.c media: rc: Add driver for tango HW IR decoder 2017-10-11 12:41:08 -04:00
ttusbir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
winbond-cir.c media: rc: winbond: do not send reset and timeout raw events on startup 2018-05-14 07:17:06 -04:00
zx-irdec.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00