linux-stable/drivers/media
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
..
cec [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
common [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
dvb-core [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb-frontends [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
mmc
pci [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
platform [media] xilinx: Use a local media device pointer instead 2017-01-30 11:35:02 -02:00
radio [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rc [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usb [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
v4l2-core [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
Kconfig [media] Kconfig: fix breakages when DVB_CORE is not selected 2016-11-18 17:59:17 -02:00
Makefile [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
media-entity.c [media] media: entity: Add debug information to graph walk 2017-01-30 11:33:26 -02:00