From patchwork Tue Sep 25 16:58:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10614563 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE26A14BD for ; Tue, 25 Sep 2018 16:58:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA52D2A9F5 for ; Tue, 25 Sep 2018 16:58:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDC4D2AA94; Tue, 25 Sep 2018 16:58:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 073742A9F5 for ; Tue, 25 Sep 2018 16:58:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726361AbeIYXG7 (ORCPT ); Tue, 25 Sep 2018 19:06:59 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:35824 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbeIYXG6 (ORCPT ); Tue, 25 Sep 2018 19:06:58 -0400 Received: from avalon.localnet (163.103.117.91.static.reverse-mundo-r.com [91.117.103.163]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 769AB506; Tue, 25 Sep 2018 18:58:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1537894714; bh=olVreybdwvbC6RHreGZwAO1D+J8uPBWqWHvxM9JEzfw=; h=From:To:Cc:Subject:Date:From; b=TOKUSu9+ZGP7yxrJlh5UDG9IjvCs6HYsNGin6bpyyHYuORkkwYZX3JtCUqI12fxE3 Jw8AT9NZoArdrcDT19y8knPyI1i4w1mskE3NOzDdmpOqtTeMcuoJ3mt+x38v7Z0ekj GFp/VZ8gHN8hT5yyEUDrsrYjJe4Hiv/um/PMFzWc= From: Laurent Pinchart To: Felipe Balbi Cc: linux-usb@vger.kernel.org Subject: UVC gadget changes for v4.20 Date: Tue, 25 Sep 2018 19:58:50 +0300 Message-ID: <9327135.XS1YLNVeIi@avalon> Organization: Ideas on Board Oy MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Felipe, The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://linuxtv.org/pinchartl/media.git tags/uvcg-20180925 for you to fetch changes up to 3fb2fd76eda265ce5421318de38dd9b9f7c54737: usb: gadget: uvc: configfs: Use %u to print unsigned int values (2018-09-25 18:48:10 +0300) ---------------------------------------------------------------- UVC gadget updates for v4.20 - configfs cleanups, fixes and extensions - Endianness fixes - Miscellaneous cleanups ---------------------------------------------------------------- Joel Pepper (2): usb: gadget: uvc: configfs: Add bFrameIndex attributes usb: gadget: uvc: configfs: Prevent format changes after linking header Laurent Pinchart (14): usb: gadget: uvc: configfs: Don't wrap groups unnecessarily usb: gadget: uvc: configfs: Add section header comments usb: gadget: uvc: configfs: Drop leaked references to config items usb: gadget: uvc: configfs: Allocate groups dynamically usb: gadget: uvc: configfs: Add interface number attributes usb: gadget: uvc: configfs: Add bFormatIndex attributes usb: gadget: uvc: Factor out video USB request queueing usb: gadget: uvc: Only halt video streaming endpoint in bulk mode usb: gadget: uvc: Replace plain printk() with dev_*() usb: gadget: uvc: Remove uvc_set_trace_param() function usb: video: Fix endianness mismatches in descriptor structures usb: gadget: uvc: configfs: Fix operation on big endian platforms usb: gadget: uvc: configfs: Simplify attributes macros usb: gadget: uvc: configfs: Use %u to print unsigned int values Paul Elder (1): usb: gadget: uvc: configfs: Sort frame intervals upon writing Documentation/ABI/testing/configfs-usb-gadget-uvc | 24 + drivers/usb/gadget/function/f_uvc.c | 57 +- drivers/usb/gadget/function/u_uvc.h | 3 + drivers/usb/gadget/function/uvc.h | 16 +- drivers/usb/gadget/function/uvc_configfs.c | 1168 ++++++++++--------- drivers/usb/gadget/function/uvc_v4l2.c | 4 +- drivers/usb/gadget/function/uvc_video.c | 48 +- drivers/usb/gadget/function/uvc_video.h | 2 +- include/uapi/linux/usb/video.h | 304 +++--- 9 files changed, 916 insertions(+), 710 deletions(-)