From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796053255; b=iiq3mJgQ5YFBrROK8tP9GGz975h5Kh9tgAF2+J9MxDl7lqutq+DHNAHTci/rR963k2vx GPdO1+vhMu7l+zX4dIVnWOxyd1fWjEHlK+Ti6vzZrHgaCmPBVZVVbxOoOBW48YVDvD6/X Tbze73G4Deb58GDjN7A2Ab7560BLICf4kYNwZer4dXXQGKWxwEQ1BTE4VlV019sG9rk15 FpD9fC0DWAQ9MK/bo8YEQxEaYQIRhWlsTN6UsdX+vKPZbhKRsD9nv/bqbzYljBqNT/Gjy A7HDpObuKyaiW23MnjBOup5wFwa84uc/bjGkMII4nEeAjHMfpxca2Hxr0cAGOWX5rtg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796053255; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:From:Content-Language:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=GcwXXyD48gDMzf6Qfr3FQdHzroRzbi2x+002rcDCWko=; b=UW7nE0m6/I3P3R6YtxeySbvj3/vMCz6kPv3Bn/1klPFeunguGPGJRmGEtZKQg32xQLtP F7whG80lNx8XmF4XPz4BE8mM3QcaTAdMo1nhJMAhlKopguc85Rg7ScQmn23NCFTgIEVLP opP91t8b4zHupXIJCtzQ5zhx7JS8hKqO7euGo5imfavMQbxqQ9FOg0zq6MKAnMMcDrAIK cOfWBrb6Ugxo+tshPsGl+7ep3s71MbEU430OJsS852QNZ6HS7w9zSNqS9GPOCIq1MrbwH +hO7wnPH6mD1FPsdBDJUFUAxFHLZ6rP65jMxvNuUil6qlQes3K6812XOn6V+3Pb+QJQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="M0YvACF/"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8890A606A31C; Mon, 30 Nov 2026 15:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=M0YvACF/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 209B21F0089A; Mon, 30 Nov 2026 15:40:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796053255; bh=GcwXXyD48gDMzf6Qfr3FQdHzroRzbi2x+002rcDCWko=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=M0YvACF/Uq7WeQadVxplAEy6hg5RvFGPV+32ouSBjWgUgDZMVIixoEyMNBrkkbAGl pZj6rbybsApKe7DDsi7XyKF79QkVF+k/SwvX9d94mDLALotflrNgL82DY2tnxoNe2o BLzzq4VZ5dofIjXkkKiZ+6cH0nkXmAT4BnbcOpaStn2B590jyBejoM0Oedj1NblsHx XdpVQYReRFk9UOmLXtrOcFkkG/bJop4siYmWzdrUVEK9Qw47beyw/p61hlCjaFnXOh NwdqCJ+1+S3gx5YMGYL4exAAB4ivA2cXKbUgdl/EKhuTTh30ASt8SPArAiTrtbpIgk i6bX29Z+N7OzA== Message-ID: <4ca377c9-203b-4297-b1df-f224154c5319@kernel.org> Date: Mon, 30 Nov 2026 16:40:52 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] media: uvcvideo: Automate quirk sorting To: Ricardo Ribalda , Laurent Pinchart , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Hans de Goede References: <20261130-uvc-sorted-v2-0-795f47fbb703@chromium.org> From: Hans de Goede Content-Language: en-US, nl In-Reply-To: <20261130-uvc-sorted-v2-0-795f47fbb703@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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,