WSL2-Linux-Kernel/drivers/media
Laurent Pinchart d6834b4b58 media: uvcvideo: Set media controller entity functions
The media controller core prints a warning when an entity is registered
without a function being set. This affects the uvcvideo driver, as the
warning was added without first addressing the issue in existing
drivers. The problem is harmless, but unnecessarily worries users. Fix
it by mapping UVC entity types to MC entity functions as accurately as
possible using the existing functions.

Fixes: b50bde4e47 ("[media] v4l2-subdev: use MEDIA_ENT_T_UNKNOWN for new subdevs")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-10 14:06:27 +02:00
..
cec media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
common Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
dvb-core treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dvb-frontends Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
platform media: rcar-fcp: Drop local dma_parms 2020-09-10 14:06:27 +02:00
radio Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
rc Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vivid: fix compile warning/error 2020-09-08 11:54:00 +02:00
tuners Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
usb media: uvcvideo: Set media controller entity functions 2020-09-10 14:06:27 +02:00
v4l2-core Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00