From patchwork Thu Sep 9 08:26:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Pham X-Patchwork-Id: 508677 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT 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 159BFC433EF for ; Thu, 9 Sep 2021 08:27:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE57460E76 for ; Thu, 9 Sep 2021 08:27:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbhIII24 (ORCPT ); Thu, 9 Sep 2021 04:28:56 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:39923 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbhIII2z (ORCPT ); Thu, 9 Sep 2021 04:28:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1631176066; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=KverK1f2Ijeh3HZLPtMkLmzKnx9/1mzuftZ68kmyPvA=; b=kbN9JHNcZliHeEl2rtKKm4jS1g/fXab1KkF90ieVNLUKWPVSUSRSI7hAJX391QHVtqJkfP2f 6HnzCiIS1fnM8r0vCNqbpCY5PQ8Qq5mnXrSa0OGsRMCrKg3NJpznOgjKw7sduYZ1L3z6Zwic 3dn4tCx0EwkFGDiO9c+aWXQWVtA= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyIxZTE2YSIsICJsaW51eC11c2JAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 6139c582e34848cb6a1c9e2b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 09 Sep 2021 08:27:46 GMT Sender: jackp=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EEBF5C4361A; Thu, 9 Sep 2021 08:27:45 +0000 (UTC) Received: from jackp-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jackp) by smtp.codeaurora.org (Postfix) with ESMTPSA id C3084C4338F; Thu, 9 Sep 2021 08:27:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org C3084C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Jack Pham To: Greg Kroah-Hartman , Felipe Balbi , Thinh Nguyen , Ruslan Bilovol , Jerome Brunet , Pavel Hofman Cc: linux-usb@vger.kernel.org, Ferry Toth , Wesley Cheng , Pawel Laszczak , Jack Pham Subject: [PATCH v2 0/2] usb: gadget: f_uac2: Fixes for SuperSpeed Date: Thu, 9 Sep 2021 01:26:49 -0700 Message-Id: <20210909082651.11912-1-jackp@codeaurora.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This series fixes SuperSpeed (and SuperSpeedPlus) functionality for the UAC2 function driver. The first patch fixes enumeration failures due to a missing companion descriptor, while the second patch is necessary for actual data transfer functionality to work. V2: Made this a series. Patch 1 revised to create a separate descriptor just for the feedback endpoint. Patch 2 is new. Jack Pham (2): usb: gadget: f_uac2: Add missing companion descriptor for feedback EP usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval drivers/usb/gadget/function/f_uac2.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)