linux/drivers/media/usb
Ricardo Ribalda 758dbc756a media: uvcvideo: Use heuristic to find stream entity
Some devices, like the Grandstream GUV3100 webcam, have an invalid UVC
descriptor where multiple entities share the same ID, this is invalid
and makes it impossible to make a proper entity tree without heuristics.

We have recently introduced a change in the way that we handle invalid
entities that has caused a regression on broken devices.

Implement a new heuristic to handle these devices properly.

Reported-by: Angel4005 <ooara1337@gmail.com>
Closes: https://lore.kernel.org/linux-media/CAOzBiVuS7ygUjjhCbyWg-KiNx+HFTYnqH5+GJhd6cYsNLT=DaA@mail.gmail.com/
Fixes: 0e2ee70291 ("media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID")
Cc: stable@vger.kernel.org
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2025-10-24 11:16:26 +02:00
..
airspy media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
as102
au0828 media: au0828: Use USB API functions rather than constants 2025-08-29 11:04:01 +02:00
b2c2
cx231xx media: v4l2: Rename second ioctl handlers argument to 'void *priv' 2025-08-13 08:34:01 +02:00
dvb-usb media: cxusb: no longer judge rbuf when the write fails 2025-04-25 15:14:31 +02:00
dvb-usb-v2 media: dvb-usb-v2: Constify struct i2c_algorithm 2025-02-21 10:33:14 +01:00
em28xx media: em28xx: add special case for legacy gpiolib interface 2025-08-29 11:04:02 +02:00
go7007 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
gspca media: v4l2: Rename second ioctl handlers argument to 'void *priv' 2025-08-13 08:34:01 +02:00
hackrf media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
hdpvr media: v4l2: Rename second ioctl handlers argument to 'void *priv' 2025-08-13 08:34:01 +02:00
msi2500 media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
pvrusb2 media: Reset file->private_data to NULL in v4l2_fh_del() 2025-08-13 08:33:44 +02:00
pwc media: pwc: remove useless header files 2025-02-21 10:33:04 +01:00
s2255 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
siano
stk1160 media: stk1160: Restore deleted comment in stk1160_fill_urb() 2025-08-29 11:04:02 +02:00
ttusb-budget
ttusb-dec
usbtv media: usbtv: Lock resolution while streaming 2025-06-17 10:35:14 +02:00
uvc media: uvcvideo: Use heuristic to find stream entity 2025-10-24 11:16:26 +02:00
Kconfig
Makefile