]> git.baikalelectronics.ru Git - kernel.git/commit
media: rc: simplify ir_raw_event_store_edge()
authorSean Young <sean@mess.org>
Mon, 7 Aug 2017 12:38:10 +0000 (08:38 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:57:24 +0000 (09:57 -0400)
commit3f21ea84b0e064bd282e9489ad1588d5762f48a1
tree82d196e5aada9faaf1b882c480121d6eed3b526a
parent5975bbea93ef26c1f6d6a1bdb57c17a9e809d3ba
media: rc: simplify ir_raw_event_store_edge()

Since commit 12749b198fa4 ("[media] rc: saa7134: add trailing space for
timely decoding"), the workaround of inserting reset events is no
longer needed.

Note that the initial reset is not needed either; other rc-core drivers
that don't use ir_raw_event_store_edge() never call this at all.

Verified on a HVR-1150 and Raspberry Pi.

Fixes: 8e13a7ab1e6e ("[media] rc: fix ghost keypresses with certain hw")
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/saa7134/saa7134-input.c
drivers/media/rc/gpio-ir-recv.c
drivers/media/rc/img-ir/img-ir-raw.c
drivers/media/rc/rc-core-priv.h
drivers/media/rc/rc-ir-raw.c
include/media/rc-core.h