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 v2 0/4] uvcvideo: Fix handling of power_line_frequency
Date: Thu, 19 May 2022 20:13:02 +0200 [thread overview]
Message-ID: <20220519181306.42136-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.
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
next reply other threads:[~2022-05-19 18:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-19 18:13 Ricardo Ribalda [this message]
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
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=20220519181306.42136-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.