linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] uvcvideo: Fix handling of power_line_frequency
@ 2022-05-19 18:13 Ricardo Ribalda
  2022-05-19 18:13 ` [PATCH v2 1/4] media: uvcvideo: Add missing value for power_line_frequency Ricardo Ribalda
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ricardo Ribalda @ 2022-05-19 18:13 UTC (permalink / raw)
  To: Laurent Pinchart, Mauro Carvalho Chehab, linux-media,
	linux-kernel, Tomasz Figa, Sergey Senozhatsky, Yunke Cao
  Cc: Ricardo Ribalda

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.

v2: Thanks Laurent! 

Do not modify the behaviour of v1.1

Ricardo Ribalda (4):
  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

 drivers/media/usb/uvc/uvc_ctrl.c   | 91 ++++++++++++++++++++++++++----
 drivers/media/usb/uvc/uvc_driver.c | 27 +++++++++
 drivers/media/usb/uvc/uvcvideo.h   |  1 +
 3 files changed, 107 insertions(+), 12 deletions(-)

-- 
2.36.1.124.g0e6072fb45-goog


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

end of thread, other threads:[~2022-05-19 18:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 18:13 [PATCH v2 0/4] uvcvideo: Fix handling of power_line_frequency Ricardo Ribalda
2022-05-19 18:13 ` [PATCH v2 1/4] media: uvcvideo: Add missing value for power_line_frequency Ricardo Ribalda
2022-05-19 18:13 ` [PATCH v2 2/4] media: uvcvideo: Add UVC_QUIRK_LIMITED_POWERLINE Ricardo Ribalda
2022-05-19 18:13 ` [PATCH v2 3/4] media: uvcvideo: Add LIMITED_POWERLINE quirks for Quanta UVC Webcam Ricardo Ribalda
2022-05-19 18:13 ` [PATCH v2 4/4] media: uvcvideo: Add LIMITED_POWERLINE quirks for Chicony Easycamera Ricardo Ribalda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).