This is a rebump of a 4 years old patch from Hans.
https://lore.kernel.org/linux-media/20210618122923.385938-21-ribalda@chromium.org/
It brings "new" helpers to the uvcdriver and removes tons of code.
The first patch of this series is part of another series:
https://patchwork.linuxtv.org/project/linux-media/list/?series=15227
I have uploaded my working tree at:
https://gitlab.freedesktop.org/linux-media/users/ribalda/-/commits/b4/uvc-fop
which shows the differences from the original patch, this is mainly for
helping the review to people familiar with the previous patch.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Hans Verkuil (1):
media: uvcvideo: Use vb2 ioctl and fop helpers
Ricardo Ribalda (2):
media: uvcvideo: Refactor uvc_queue_streamon
media: uvcvideo: Remove stream->is_streaming field
drivers/media/usb/uvc/uvc_driver.c | 34 +----
drivers/media/usb/uvc/uvc_metadata.c | 8 +-
drivers/media/usb/uvc/uvc_queue.c | 143 -------------------
drivers/media/usb/uvc/uvc_v4l2.c | 266 ++++-------------------------------
drivers/media/usb/uvc/uvcvideo.h | 38 +----
5 files changed, 37 insertions(+), 452 deletions(-)
---
base-commit: 5e1ff2314797bf53636468a97719a8222deca9ae
change-id: 20250521-uvc-fop-b74e9007dd51
Best regards,
--
Ricardo Ribalda <ribalda@chromium.org>