[media] rc-core: add loopback driver
authorDavid Härdeman <david@hardeman.nu>
Thu, 25 Nov 2010 21:36:27 +0000 (18:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:58 +0000 (08:16 -0200)
commit801c73c04ad57689dc9b47baf62cbb23f954d987
tree38ecfa2b548e4aa6bb881971e7f23e43ac4a30d1
parentdea8a39fb569c23084c857ccdbf70a95ea3bf7dc
[media] rc-core: add loopback driver

This patch adds a loopback driver to rc-core which I've found useful for
running scripted tests of different parts of rc-core without having to
fiddle with real hardware.

Basically it emulates hardware with a learning and a non-learning
receiver and two transmitters (which correspond to the two
receivers). TX data that is sent is fed back as input on the
corresponding receiver, which allows for debugging of IR decoders,
keymaps, etc.

Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/Kconfig
drivers/media/rc/Makefile
drivers/media/rc/rc-loopback.c [new file with mode: 0644]