From: Hans de Goede <hansg@kernel.org>
To: Ricardo Ribalda <ribalda@chromium.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Hans de Goede <johannes.goede@oss.qualcomm.com>
Subject: Re: [PATCH v2 0/3] media: uvcvideo: Automate quirk sorting
Date: Mon, 30 Nov 2026 16:40:52 +0100 [thread overview]
Message-ID: <4ca377c9-203b-4297-b1df-f224154c5319@kernel.org> (raw)
In-Reply-To: <20261130-uvc-sorted-v2-0-795f47fbb703@chromium.org>
Hi,
On 30-Nov-26 15:46, Ricardo Ribalda wrote:
> As the number of quirks grows it becomes more complicated to keep them
> sorted.
>
> Let's rely on automation to check that all the quirks are where they are
> supposed to be, so we can focus on reviewing the more fun code.
>
> We use this opportunity to modernize a bit the quirks.
>
> I have added an "optional" patch to relax the 80 column rules. Please
> feel free to either squash it with the previous patch or drop it. I
> think that the code is nicer with it... but I am biased.
>
> An LLM has figured out the regex for the second group of devices (it is
> more clever than me writing regex). I have tested it.
>
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Thank you for the series. I've merged patch 1/3 and 3/3 into:
https://gitlab.freedesktop.org/linux-media/users/uvc/-/commits/for-next/
for 2/3 lets wait and see what Laurent says.
Regards,
Hans
> ---
> Changes in v2:
> - Drop the patch converting Bodelin ProScopeHR to a per-device check in
> uvc_status.c; keep it in uvc_ids[] under a separate open-coded
> matching keep-sorted block and update the uvc_ids[] comments to
> document the grouping.
> - Remove --- from the commit message of "media: uvcvideo: Use
> USB_DEVICE_AND_INTERFACE_INFO macro".
> - Allow longer lines for quirks.
> - Link to v1: https://lore.kernel.org/r/20261002-uvc-sorted-v1-0-65f52e4d7e16@chromium.org
>
> ---
> Ricardo Ribalda (3):
> media: uvcvideo: Use USB_DEVICE_AND_INTERFACE_INFO macro
> media: uvcvideo: Relax the 80 columns rules for the quirk db
> media: uvcvideo: Sort all the uvc_ids quirks
>
> drivers/media/usb/uvc/uvc_driver.c | 737 ++++++-------------------------------
> 1 file changed, 122 insertions(+), 615 deletions(-)
> ---
> base-commit: 79dd149ff9244884f7c62356a9e499a934ed6071
> change-id: 20261002-uvc-sorted-9be5e3e605f4
>
> Best regards,
prev parent reply other threads:[~2026-11-30 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 14:46 Ricardo Ribalda
2026-11-30 14:46 ` [PATCH v2 1/3] media: uvcvideo: Use USB_DEVICE_AND_INTERFACE_INFO macro Ricardo Ribalda
2026-11-30 14:46 ` [PATCH v2 2/3] media: uvcvideo: Relax the 80 columns rules for the quirk db Ricardo Ribalda
2026-11-30 14:46 ` [PATCH v2 3/3] media: uvcvideo: Sort all the uvc_ids quirks Ricardo Ribalda
2026-11-30 15:40 ` Hans de Goede [this message]
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=4ca377c9-203b-4297-b1df-f224154c5319@kernel.org \
--to=hansg@kernel.org \
--cc=johannes.goede@oss.qualcomm.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=ribalda@chromium.org \
/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
all inboxes | Powered by JetHome®