linux/drivers/media/cec
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
..
Makefile
cec-adap.c [media] cec: fix race between configuring and unconfiguring 2016-12-21 07:03:27 -02:00
cec-api.c [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
cec-core.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
cec-priv.h