OSDN Git Service

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)
commit86fe1ac0d563477b1d10d49a92237e3f3d74e7be
tree82d196e5aada9faaf1b882c480121d6eed3b526a
parent48b2de1971c766a8dc0aec668742e17cb0c75127
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: 3f5c4c73322e ("[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