2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/media/usb
Thadeu Lima de Souza Cascardo 8004d635f2 Revert "media: uvcvideo: Require entities to have a non-zero unique ID"
This reverts commit 3dd075fe8e.

Tomasz has reported that his device, Generalplus Technology Inc. 808 Camera,
with ID 1b3f:2002, stopped being detected:

$ ls -l /dev/video*
zsh: no matches found: /dev/video*
[    7.230599] usb 3-2: Found multiple Units with ID 5

This particular device is non-compliant, having both the Output Terminal
and Processing Unit with ID 5. uvc_scan_fallback, though, is able to build
a chain. However, when media elements are added and uvc_mc_create_links
call uvc_entity_by_id, it will get the incorrect entity,
media_create_pad_link will WARN, and it will fail to register the entities.

In order to reinstate support for such devices in a timely fashion,
reverting the fix for these warnings is appropriate. A proper fix that
considers the existence of such non-compliant devices will be submitted in
a later development cycle.

Reported-by: Tomasz Sikora <sikora.tomus@gmail.com>
Fixes: 3dd075fe8e ("media: uvcvideo: Require entities to have a non-zero unique ID")
Cc: stable@vger.kernel.org
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20250114200045.1401644-1-cascardo@igalia.com
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2025-01-31 22:07:43 +01:00
..
airspy media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
as102 media: as102: avoid GFP_ATOMIC 2024-04-29 12:07:00 +01:00
au0828 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
b2c2 media: b2c2: flexcop-usb: fix flexcop_usb_memory_req 2024-06-24 11:05:07 +02:00
cx231xx media: cx231xx: remove redundant assignment to variable value 2024-12-02 14:05:24 +01:00
dvb-usb Linux 6.12-rc7 2024-11-11 12:16:33 +01:00
dvb-usb-v2 media: dvb-usb-v2: af9035: fix ISO C90 compilation error on af9035_i2c_master_xfer 2025-01-08 14:57:01 +00:00
em28xx media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
go7007 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
gspca media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate() 2024-11-07 09:05:57 +01:00
hackrf media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
hdpvr media: hdpvr: fix error value returns in hdpvr_read 2022-06-27 09:02:50 +01:00
msi2500 media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
pvrusb2 media: pvrusb2: Use kmemdup_array instead of kmemdup for multiple allocation 2024-10-12 16:28:24 +02:00
pwc media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
s2255 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
siano media: usb: siano: Fix allocation of urbs 2024-04-16 00:02:53 +02:00
stk1160 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
ttusb-budget media: dvb-ttusb-budget: cleanup printk logic 2020-09-03 11:15:47 +02:00
ttusb-dec media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
usbtv media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
uvc Revert "media: uvcvideo: Require entities to have a non-zero unique ID" 2025-01-31 22:07:43 +01:00
Kconfig media: tm6000: deprecate this driver 2022-08-29 16:43:00 +02:00
Makefile media: tm6000: deprecate this driver 2022-08-29 16:43:00 +02:00