[PATCH v7 0/8] uvcvideo: Fix handling of power_line_frequency
From: Ricardo Ribalda
Date: Fri Jun 17 2022 - 19:56:23 EST
Hello,
This series is a new version of "[PATCH v3 0/7] uvcvideo: Fix handling
of power_line_frequency", with an attempt to generalize the
UVC_QUIRK_LIMITED_POWERLINE quirk that it introduced and turn it into a
control mappings override mechanism.
The goal is still to support the UVC 1.5 power line frequency control
extra option (patch 1/7), and work around an issue with devices that do
not implement support for disabling the power line frequency (patches
2/7 to 7/7).
Changelog v8:
- media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
New patch
- media: uvcvideo: Use standard names for menus
New patch
Changelog v7:
- Support minimum for V4L2_CTRL_TYPE_MENU
Fix uvc_query_v4l2_menu
Changelog v6:
- Add support for per-device control mapping overrides
Fix invalid memory access
- Support minimum for V4L2_CTRL_TYPE_MENU
New patch
- Limit power line control for Quanta UVC Webcam
Fix id
Ricardo Ribalda (9):
media: uvcvideo: Add missing value for power_line_frequency
media: uvcvideo: Add support for per-device control mapping overrides
media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
media: uvcvideo: Use standard names for menus
media: uvcvideo: Limit power line control for Quanta UVC Webcam
media: uvcvideo: Limit power line control for Chicony Easycamera
media: uvcvideo: Limit power line control for Chicony Easycamera
media: uvcvideo: Limit power line control for Quanta cameras
media: uvcvideo: Limit power line control for Acer EasyCamera
drivers/media/usb/uvc/uvc_ctrl.c | 208 ++++++++++++++++++++++-------
drivers/media/usb/uvc/uvc_driver.c | 81 +++++++++++
drivers/media/usb/uvc/uvc_v4l2.c | 77 ++++++++---
drivers/media/usb/uvc/uvcvideo.h | 6 +-
include/uapi/linux/uvcvideo.h | 3 +-
5 files changed, 303 insertions(+), 72 deletions(-)
--
2.37.0.rc0.104.g0611611a94-goog