]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08ee2d22fe08918d17df6cad98f998016ba0cbc0
tree704d04613b6aedc97be22b042cac5ddc91aa058e
parent392d28c7df3c7328cb56af8ac0efc2245c8e8df7
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