]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/media/rc-core.h
media: rc: meson-ir: add timeout on idle
authorSean Young <sean@mess.org>
Thu, 8 Mar 2018 14:42:44 +0000 (09:42 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 17:54:51 +0000 (13:54 -0400)
commit8d7a77ce56cdb5f50b83ca0c59a31362e1a5eeb4
tree704d04613b6aedc97be22b042cac5ddc91aa058e
parent20f2e1aa77314decf395558fd3a13875c0e56074
media: rc: meson-ir: add timeout on idle

Meson doesn't seem to be able to generate timeout events in hardware. So
install a software timer to generate the timeout events required by the
decoders to prevent "ghost keypresses".

Reported-by: Matthias Reichl <hias@horus.com>
Tested-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/meson-ir.c
drivers/media/rc/rc-ir-raw.c
include/media/rc-core.h