2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/media/pci/smipcie
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] SMI PCIe IR driver for DVBSky cards 2015-07-06 08:26:16 -03:00
Makefile [media] SMI PCIe IR driver for DVBSky cards 2015-07-06 08:26:16 -03:00
smipcie-ir.c [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
smipcie-main.c [media] constify local structures 2016-09-19 16:22:18 -03:00
smipcie.h [media] smipcie: add RC map into card configuration options 2016-05-07 10:27:18 -03:00