[PATCH v3 0/7] uvcvideo: Fix handling of power_line_frequency
From: Ricardo Ribalda
Date: Tue Jun 07 2022 - 09:44:34 EST
The uvc 1.5 standard recognizes 4 different values for this control, but we
were only using the first 3.
Also add a quirk for those devices that only support 50 and 60 Hz.
v3: Add more devices
v2: Thanks Laurent!
Do not modify the behaviour of v1.1
Ricardo Ribalda (7):
media: uvcvideo: Add missing value for power_line_frequency
media: uvcvideo: Add UVC_QUIRK_LIMITED_POWERLINE
media: uvcvideo: Add LIMITED_POWERLINE quirks for Quanta UVC Webcam
media: uvcvideo: Add LIMITED_POWERLINE quirks for Chicony Easycamera
media: uvcvideo: Add LIMITED_POWERLINE quirks for Chicony Easycamera
media: uvcvideo: Add LIMITED_POWERLINE quirks for Quanta cameras
media: uvcvideo: Add LIMITED_POWERLINE quirks for Acer EasyCamera
drivers/media/usb/uvc/uvc_ctrl.c | 91 ++++++++++++++++++++++++++----
drivers/media/usb/uvc/uvc_driver.c | 63 +++++++++++++++++++++
drivers/media/usb/uvc/uvcvideo.h | 1 +
3 files changed, 143 insertions(+), 12 deletions(-)
--
2.36.1.255.ge46751e96f-goog