Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 693E7C4167B for ; Thu, 29 Dec 2022 14:59:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233472AbiL2O7x (ORCPT ); Thu, 29 Dec 2022 09:59:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233664AbiL2O7t (ORCPT ); Thu, 29 Dec 2022 09:59:49 -0500 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 49F5312602 for ; Thu, 29 Dec 2022 06:59:48 -0800 (PST) Received: (qmail 307636 invoked by uid 1000); 29 Dec 2022 09:59:47 -0500 Date: Thu, 29 Dec 2022 09:59:47 -0500 From: Alan Stern To: Laurent Pinchart Cc: Dan Scally , linux-usb@vger.kernel.org, balbi@kernel.org, gregkh@linuxfoundation.org, kieran.bingham@ideasonboard.com, torleiv@huddly.com, mgr@pengutronix.de Subject: Re: [PATCH v2 8/9] usb: gadget: uvc: Allow linking function to string descs Message-ID: References: <20221121092517.225242-1-dan.scally@ideasonboard.com> <20221121092517.225242-9-dan.scally@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Thu, Dec 29, 2022 at 04:08:11AM +0200, Laurent Pinchart wrote: > I haven't dug in the USB gadget configfs implementation, but I think > string support is something that shouldn't be specific to the UVC > gadget. I think we should be able to create a config item of "type" > string, and have gadget helpers handle the rest. > > Feedback from the USB gadget maintainers would be useful. Absolutely there should be support for arbitrary strings in the gadget configfs core. After all, it already supports strings for the vendor and product names. Alan Stern