mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: uvcvideo: Automatically handle invalid uvc_versions
@ 2026-09-11  9:50 Ricardo Ribalda
  2026-09-11  9:50 ` [PATCH v2 1/2] media: uvcvideo: Force UVC version for Avermedia GC515 Ricardo Ribalda
  2026-09-11  9:50 ` [PATCH v2 2/2] media: uvcvideo: Automatically handle cameras with invalid uvc_version Ricardo Ribalda
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Ribalda @ 2026-09-11  9:50 UTC (permalink / raw)
  To: Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab
  Cc: Edwin Gatier, linux-media, linux-kernel, Mauro Carvalho Chehab,
	Ricardo Ribalda, stable

This series changes the way we handle invalid uvc_versions. Instead of
just failing it will try to continue probing.

Now that we are at it, add a quirk to fix an Avermedia device affected
by this error.

Why keep using the quirk? Because I think it is more correct to handle
them that way and the quirk system can give us an idea of what vendors
are more respectful with the spec.

Thanks!

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v2:
- Add quirk for Avermedia
- Change the way the compliance error message is printed and cache
  ctrl_size
- Link to v1: https://lore.kernel.org/r/20260907-uvc-version-v1-1-34e45dfe04de@chromium.org

---
Ricardo Ribalda (2):
      media: uvcvideo: Force UVC version for Avermedia GC515
      media: uvcvideo: Automatically handle cameras with invalid uvc_version

 drivers/media/usb/uvc/uvc_driver.c | 22 +++++++++++++++----
 drivers/media/usb/uvc/uvc_video.c  | 44 ++++++++++++++++++++++++++------------
 drivers/media/usb/uvc/uvcvideo.h   |  1 +
 3 files changed, 49 insertions(+), 18 deletions(-)
---
base-commit: 27953c044974baf7e24dee3e9342fe0103dea80c
change-id: 20260907-uvc-version-aedefc4384ce

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-11  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11  9:50 [PATCH v2 0/2] media: uvcvideo: Automatically handle invalid uvc_versions Ricardo Ribalda
2026-09-11  9:50 ` [PATCH v2 1/2] media: uvcvideo: Force UVC version for Avermedia GC515 Ricardo Ribalda
2026-09-11  9:50 ` [PATCH v2 2/2] media: uvcvideo: Automatically handle cameras with invalid uvc_version Ricardo Ribalda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®