From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59C4FC2B9F4 for ; Tue, 15 Jun 2021 02:36:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2BC8961404 for ; Tue, 15 Jun 2021 02:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbhFOCiF (ORCPT ); Mon, 14 Jun 2021 22:38:05 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:49014 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbhFOCiE (ORCPT ); Mon, 14 Jun 2021 22:38:04 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3E9B78B7; Tue, 15 Jun 2021 03:19:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1623719959; bh=htLtHR8v8VzRLHV5IJA6tmQXI5BoGv3VFtYHukkDPAg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bxsqYzxJALhM30NSO0XkmI+Fho2EriFzvamIJncxSYfU8FUE3qhdu74LS08EIGrWE MLImfoW+LZafx5tLqM7hSyRzTlXE9agv7qbhe4LQR5U/zIC4LwyRYCxEImnxgGN2vg lFbmfNv4GcVfKcODwuw1dZFVu4+zlINPHwUTPkpA= Date: Tue, 15 Jun 2021 04:18:59 +0300 From: Laurent Pinchart To: Greg KH Cc: Michael Grzeschik , linux-usb@vger.kernel.org, caleb.connolly@ideasonboard.com, paul.elder@ideasonboard.com, balbi@kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 2/3] usb: gadget: uvc: add VIDIOC function Message-ID: References: <20210530222239.8793-1-m.grzeschik@pengutronix.de> <20210530222239.8793-3-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Greg, On Wed, Jun 09, 2021 at 10:16:53AM +0200, Greg KH wrote: > to you...> > > On Mon, May 31, 2021 at 12:22:38AM +0200, Michael Grzeschik wrote: > > This patch adds support to the v4l2 VIDIOC for enum_format, > > enum_framesizes, enum_frameintervals and try_fmt. The configfs userspace > > setup gets parsed and this configfs data is used in the v4l2 interface > > functions. > > > > Signed-off-by: Michael Grzeschik > > --- > > drivers/usb/gadget/function/f_uvc.c | 54 ++++ > > drivers/usb/gadget/function/uvc.h | 18 +- > > drivers/usb/gadget/function/uvc_configfs.c | 5 + > > drivers/usb/gadget/function/uvc_configfs.h | 2 + > > drivers/usb/gadget/function/uvc_queue.c | 4 +- > > drivers/usb/gadget/function/uvc_v4l2.c | 325 ++++++++++++++++++--- > > drivers/usb/gadget/function/uvc_v4l2.h | 1 + > > drivers/usb/gadget/function/uvc_video.c | 10 +- > > 8 files changed, 369 insertions(+), 50 deletions(-) > > It would be great to have some v4l developers review/ack this so we know > if it's ok to take or not. Done. Sorry for the delay. tl;dr: I miss the rationale for this patch series, I don't really see the benefit of moving code from the userspace helper application to the kernel. -- Regards, Laurent Pinchart