From: Ricardo Ribalda <ribalda@chromium.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Tomasz Figa <tfiga@chromium.org>,
Sergey Senozhatsky <senozhatsky@chromium.org>,
Yunke Cao <yunkec@google.com>
Cc: Ricardo Ribalda <ribalda@chromium.org>
Subject: [PATCH v3 0/7] uvcvideo: Fix handling of power_line_frequency
Date: Tue, 7 Jun 2022 15:43:57 +0200 [thread overview]
Message-ID: <20220607134405.166704-1-ribalda@chromium.org> (raw)
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
next reply other threads:[~2022-06-07 13:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 13:43 Ricardo Ribalda [this message]
2022-06-07 13:43 ` [PATCH v3 1/7] media: uvcvideo: Add missing value for power_line_frequency Ricardo Ribalda
2022-06-07 19:03 ` Laurent Pinchart
2022-06-07 21:50 ` Ricardo Ribalda
2022-06-08 6:56 ` Laurent Pinchart
2022-06-07 13:43 ` [PATCH v3 2/7] media: uvcvideo: Add UVC_QUIRK_LIMITED_POWERLINE Ricardo Ribalda
2022-06-07 13:44 ` [PATCH v3 3/7] media: uvcvideo: Add LIMITED_POWERLINE quirks for Quanta UVC Webcam Ricardo Ribalda
2022-06-07 13:44 ` [PATCH v3 4/7] media: uvcvideo: Add LIMITED_POWERLINE quirks for Chicony Easycamera Ricardo Ribalda
2022-06-07 13:44 ` [PATCH v3 5/7] " Ricardo Ribalda
2022-06-07 13:44 ` [PATCH v3 6/7] media: uvcvideo: Add LIMITED_POWERLINE quirks for Quanta cameras Ricardo Ribalda
2022-06-07 13:44 ` [PATCH v3 7/7] media: uvcvideo: Add LIMITED_POWERLINE quirks for Acer EasyCamera Ricardo Ribalda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220607134405.166704-1-ribalda@chromium.org \
--to=ribalda@chromium.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=senozhatsky@chromium.org \
--cc=tfiga@chromium.org \
--cc=yunkec@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).