From patchwork Tue Jan 24 14:49:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Grzeschik X-Patchwork-Id: 13114281 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 BE54DC25B4E for ; Tue, 24 Jan 2023 14:50:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233981AbjAXOuI (ORCPT ); Tue, 24 Jan 2023 09:50:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233800AbjAXOt6 (ORCPT ); Tue, 24 Jan 2023 09:49:58 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2966D4B484 for ; Tue, 24 Jan 2023 06:49:33 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKKc6-0000zg-B2; Tue, 24 Jan 2023 15:49:30 +0100 Received: from mgr by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1pKKc5-0007y3-VB; Tue, 24 Jan 2023 15:49:29 +0100 Date: Tue, 24 Jan 2023 15:49:29 +0100 From: Michael Grzeschik To: gregkh@linuxfoundation.org, linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, marex@denx.de, kernel@pengutronix.de Subject: [GIT PULL FOR v6.3] uvcgadget changes Message-ID: <20230124144929.GB19219@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mgr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The following changes since commit 82adfe34694c98f1115a7b75cff6af9c4a35dba9: Merge tag 'media-uvc-next-20230115' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage (2023-01-22 08:43:14 +0100) are available in the Git repository at: git://git.pengutronix.de/mgr/linux tags/uvc-gadget-next-20230124 for you to fetch changes up to e88f760d0f7054f49aa68b75bf0530840f031d34: usb: uvc: use v4l2_fill_fmtdesc instead of open coded format name (2023-01-24 15:26:07 +0100) ---------------------------------------------------------------- Marek Vasut (1): media: uvcvideo: Add GUID for BGRA/X 8:8:8:8 Michael Grzeschik (4): usb: uvc: move media/v4l2-uvc.h to usb/uvc.h usb: uvc: move uvc_fmts and uvc_format_by_guid to own compile unit usb: uvc: make uvc_format_desc table const usb: uvc: use v4l2_fill_fmtdesc instead of open coded format name drivers/media/common/Kconfig | 3 + drivers/media/common/Makefile | 1 + drivers/media/common/uvc.c | 183 ++++++++++++++++++++++ drivers/media/usb/uvc/Kconfig | 1 + drivers/media/usb/uvc/uvc_ctrl.c | 2 +- drivers/media/usb/uvc/uvc_driver.c | 4 +- drivers/usb/gadget/Kconfig | 1 + drivers/usb/gadget/function/uvc_v4l2.c | 16 +- include/{media/v4l2-uvc.h => linux/usb/uvc.h} | 209 +------------------------- 9 files changed, 201 insertions(+), 219 deletions(-) create mode 100644 drivers/media/common/uvc.c rename include/{media/v4l2-uvc.h => linux/usb/uvc.h} (59%)