linux/drivers/media/rc
Andi Shyti 0f7499fddb [media] rc-main: assign driver type during allocation
The driver type can be assigned immediately when an RC device
requests to the framework to allocate the device.

This is an 'enum rc_driver_type' data type and specifies whether
the device is a raw receiver or scancode receiver. The type will
be given as parameter to the rc_allocate_device device.

Change accordingly all the drivers calling rc_allocate_device()
so that the device type is specified during the rc device
allocation. Whenever the device type is not specified, it will be
set as RC_DRIVER_SCANCODE which was the default '0' value.

Suggested-by: Sean Young <sean@mess.org>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 13:59:57 -02:00
..
img-ir [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
keymaps [media] rc: unify nec32 protocol scancode format 2017-01-30 12:17:19 -02:00
ati_remote.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ene_ir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ene_ir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
fintek-cir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
fintek-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
gpio-ir-recv.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
igorplugusb.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
iguanair.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
imon.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ir-hix5hd2.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ir-jvc-decoder.c [media] rc: ir-jvc-decoder: Add encode capability 2017-01-30 13:52:57 -02:00
ir-lirc-codec.c [media] lirc: LIRC_{G,S}ET_SEND_MODE fail if device cannot transmit 2017-01-30 11:53:02 -02:00
ir-mce_kbd-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-nec-decoder.c [media] rc: ir-nec-decoder: Add encode capability 2017-01-30 13:52:28 -02:00
ir-rc5-decoder.c [media] rc: ir-rc5-decoder: Add encode capability 2017-01-30 13:50:52 -02:00
ir-rc6-decoder.c [media] rc: ir-rc6-decoder: Add encode capability 2017-01-30 13:51:34 -02:00
ir-rx51.c ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
ir-sanyo-decoder.c [media] rc: ir-sanyo-decoder: Add encode capability 2017-01-30 13:53:28 -02:00
ir-sharp-decoder.c [media] rc: ir-sharp-decoder: Add encode capability 2017-01-30 13:53:57 -02:00
ir-sony-decoder.c [media] rc: ir-sony-decoder: Add encode capability 2017-01-30 13:54:54 -02:00
ir-xmp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ite-cir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ite-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig [media] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
lirc_dev.c [media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work 2017-01-30 11:52:28 -02:00
Makefile [media] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
mceusb.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
meson-ir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
nuvoton-cir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
nuvoton-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rc-core-priv.h [media] rc: ir-sony-decoder: Add encode capability 2017-01-30 13:54:54 -02:00
rc-ir-raw.c [media] rc: ir-sony-decoder: Add encode capability 2017-01-30 13:54:54 -02:00
rc-loopback.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
rc-main.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
redrat3.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
serial_ir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
st_rc.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
streamzap.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
sunxi-cir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
ttusbir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
winbond-cir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00