OpenCloudOS-Kernel/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
..
Kconfig [media] rc: img-ir: add philips rc6 decoder module 2014-12-23 15:17:31 -02:00
Makefile [media] rc: img-ir: add philips rc6 decoder module 2014-12-23 15:17:31 -02:00
img-ir-core.c [media] rc: img-ir: fix error in parameters passed to irq_free() 2015-04-08 12:52:50 -03:00
img-ir-hw.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
img-ir-hw.h [media] rc: img-ir: add philips rc6 decoder module 2014-12-23 15:17:31 -02:00
img-ir-jvc.c [media] rc: img-ir: add scancode requests to a struct 2014-12-23 15:11:50 -02:00
img-ir-nec.c [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
img-ir-raw.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
img-ir-raw.h [media] rc: img-ir: Expand copyright headers with GPL notices 2014-06-17 12:04:55 -03:00
img-ir-rc5.c [media] rc: img-ir: add philips rc5 decoder module 2014-12-23 15:16:40 -02:00
img-ir-rc6.c [media] rc: img-ir: add philips rc6 decoder module 2014-12-23 15:17:31 -02:00
img-ir-sanyo.c [media] rc: img-ir: add scancode requests to a struct 2014-12-23 15:11:50 -02:00
img-ir-sharp.c [media] rc: img-ir: add scancode requests to a struct 2014-12-23 15:11:50 -02:00
img-ir-sony.c [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
img-ir.h [media] rc: img-ir: Add and enable sys clock for img-ir 2015-04-08 07:55:48 -03:00