kernel-fxtec-pro1x/drivers/media/rc/img-ir
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-core.c
img-ir-hw.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
img-ir-hw.h
img-ir-jvc.c
img-ir-nec.c
img-ir-raw.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
img-ir-raw.h
img-ir-rc5.c
img-ir-rc6.c
img-ir-sanyo.c
img-ir-sharp.c
img-ir-sony.c
img-ir.h
Kconfig
Makefile