drivers/media/IR/ir-nec-decoder.c
0 → 100644
+131
−0
drivers/media/IR/ir-raw-event.c
0 → 100644
+117
−0
Loading
Adds a method to pass IR raw pulse/code events into ir-core. This is
needed in order to support LIRC. It also helps to move common code
from the drivers into the core.
In order to allow testing, it implements a simple NEC protocol decoder
at ir-nec-decoder.c file. The logic is about the same used at saa7134
driver that handles Avermedia M135A and Encore FM53 boards.
Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>