[media] rc: split nec protocol into its three variants
authorSean Young <sean@mess.org>
Wed, 21 Sep 2016 09:54:19 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 14:46:49 +0000 (11:46 -0300)
commit2ceeca0499d745213306ecd785af17adb2321b6a
tree7bd01f282f8fd67bdbd4a3828e1af6db34744a65
parent00bb820755ed8ee996f076f193d2eadbfba50a2e
[media] rc: split nec protocol into its three variants

Currently we do not know what variant (bit length) of the nec protocol
is used, other than from guessing from the length of the scancode. Now
nec will be handled the same way as the sony protocol or the rc6 protocol;
one variant per bit length.

In the future we might want to expose the rc protocol type to userspace
and we don't want to be introducing this world of pain into userspace
too.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
16 files changed:
drivers/media/pci/cx23885/cx23885-input.c
drivers/media/pci/cx88/cx88-input.c
drivers/media/pci/saa7134/saa7134-input.c
drivers/media/rc/igorplugusb.c
drivers/media/rc/img-ir/img-ir-nec.c
drivers/media/rc/ir-nec-decoder.c
drivers/media/rc/rc-main.c
drivers/media/usb/au0828/au0828-input.c
drivers/media/usb/dvb-usb-v2/af9015.c
drivers/media/usb/dvb-usb-v2/af9035.c
drivers/media/usb/dvb-usb-v2/az6007.c
drivers/media/usb/dvb-usb-v2/lmedm04.c
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
drivers/media/usb/dvb-usb/dib0700_core.c
drivers/media/usb/dvb-usb/dtt200u.c
include/media/rc-map.h