diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-10-21 10:36:17 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-24 11:16:26 +0200 |
| commit | 758dbc756aad429da11c569c0d067f7fd032bcf7 (patch) | |
| tree | dfb7a59bf662acc9310c5f4f9c2fdbc0bc56c50b /rust/kernel/static_assert.rs | |
| parent | 7df699c2132f36359f8f79e6a163c3b3fe0b0e3d (diff) | |
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: 0e2ee70291e6 ("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>
Diffstat (limited to 'rust/kernel/static_assert.rs')
0 files changed, 0 insertions, 0 deletions
