linux/drivers/media
Laurent Pinchart 8148665cb7 media: uvcvideo: Support devices that report an OT as an entity source
commit 4ca052b4ea upstream.

Some devices reference an output terminal as the source of extension
units. This is incorrect, as output terminals only have an input pin,
and thus can't be connected to any entity in the forward direction. The
resulting topology would cause issues when registering the media
controller graph. To avoid this problem, connect the extension unit to
the source of the output terminal instead.

While at it, and while no device has been reported to be affected by
this issue, also handle forward scans where two output terminals would
be connected together, and skip the terminals found through such an
invalid connection.

Reported-and-tested-by: John Nealy <jnealy3@yahoo.com>

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2021-07-11 12:53:30 +02:00
..
cec media: cec: add stm32 driver 2021-02-03 23:28:37 +01:00
common media: saa7146: use sg_dma_len when building pgtable 2021-05-14 09:50:22 +02:00
dvb-core media: dvbdev: Fix memory leak in dvb_media_device_free() 2021-05-11 14:47:38 +02:00
dvb-frontends media: dvb: Add check on sp8870_readreg return 2021-06-03 09:00:42 +02:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: imx219: Balance runtime PM use-count 2021-05-14 09:50:25 +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 media: saa7134: use sg_dma_len when building pgtable 2021-05-14 09:50:22 +02:00
platform Revert "media: rcar_drif: fix a memory disclosure" 2021-05-26 12:06:55 +02:00
radio Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
rc media: ite-cir: check for receive overflow 2021-05-11 14:47:24 +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 assignment of dev->fbuf_out_flags 2021-05-14 09:50:22 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-05-14 09:50:23 +02:00
usb media: uvcvideo: Support devices that report an OT as an entity source 2021-07-11 12:53:30 +02:00
v4l2-core media: v4l2-ctrls.c: fix race condition in hdl->requests list 2021-05-14 09:50:25 +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