Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5876707pxu; Wed, 23 Dec 2020 07:37:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGN8Nyy3yvrZHEYWvstsS98sObnYeKS/ePsX8gMrjaXzN1LXDP4OlRDvy1MiIWlk4Fgr3u X-Received: by 2002:a17:906:6dd1:: with SMTP id j17mr25018411ejt.357.1608737846263; Wed, 23 Dec 2020 07:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608737846; cv=none; d=google.com; s=arc-20160816; b=Z+VjJbITCqB7s7QhSykFeszoZYPsz7xeym6OeNjM/2RvuZ1ho1l0yScC47KDYJXFU0 S7wjk99n2Ebz1m57HUdDaRMnLcGrk8ZFm4wSE6OIfyIsE5Nzy13LTcR7vGHzK/ZhUB1t wTORJXIIvdtw3QD1Qv4TccaZXYL5qg2fAobnGStyYik4GxQlA5WXgolsGt5DmnsI2pwF Ol4TirlzbuqrVeqw4JCpwuetkdWji8a5doY1eaAXVT5Aj/2InSUo27EQhQjJhQ2KX4V8 qXPXWoHjb8CHEsN3lBYoYFCbRpnya3mhtkYJjsnzmzJuCxn/etgh7CU027q/Zp2mg20i rhNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Pw6QINzKthqweri3iJk2IWUuQ8H7EvQLekBKHJsC4iQ=; b=XdESROHo0eVf1VmKJRmdK0nhjPyGt5Tzg2dRnXldw5Cmm5o9ZOU0Nl2r0VQfLG64WI kgQ+zIR44uBoa1kl1KEeiwt46g8443xjnxVktLl6DLiEi1p0G4loQ2fZdsBJuMc1Kx+i rIOSvfRM91sBZQNMIBjY8O9cKdC+qWLfZi6MF+dNFZhU+VY9Wkmh8c4sMZoFyOLxIGC8 nO4p7XjEailx0SdrJpjEH+T3tM2PphOdIuCjDUAOZAH+F9fe+mZajQfCrZm9F9gRC4WG FKJKDuiQ61wV/R+591X3qu3klsKnD/mh8RH70G7M1UkchjyWmv58O3U7IKVkmXrkgRnc NuNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ZNtvGGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si12192965ejc.613.2020.12.23.07.37.03; Wed, 23 Dec 2020 07:37:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ZNtvGGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbgLWPes (ORCPT + 99 others); Wed, 23 Dec 2020 10:34:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:46235 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728999AbgLWPep (ORCPT ); Wed, 23 Dec 2020 10:34:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 30018233CF; Wed, 23 Dec 2020 15:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1608737620; bh=wqsE0/1qrhIuHlKGDZfnhCttqIsS/5HqtAxBe5+zsmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0ZNtvGGb94dwt6m8N+pVI305blI8deOY5WiMWCjdzLCyTxjkPG70GgnJx3Ete4dtT v6S6d8pxEvkZn8pSsk9EKuA0IU5mJ33cy9xmZUj0Q7iNIgZLkw4Y4DflCw6B4dmNN0 WF/29T1u8s01qz8w4eCGJ17o7q0r27P33F+JrkRc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Felipe Balbi , "taehyun.cho" , Will McVicker , Peter Chen Subject: [PATCH 5.10 07/40] USB: gadget: f_acm: add support for SuperSpeed Plus Date: Wed, 23 Dec 2020 16:33:08 +0100 Message-Id: <20201223150515.924150613@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201223150515.553836647@linuxfoundation.org> References: <20201223150515.553836647@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: taehyun.cho commit 3ee05c20656782387aa9eb010fdb9bb16982ac3f upstream. Setup the SuperSpeed Plus descriptors for f_acm. This allows the gadget to work properly without crashing at SuperSpeed rates. Cc: Felipe Balbi Cc: stable Signed-off-by: taehyun.cho Signed-off-by: Will McVicker Reviewed-by: Peter Chen Link: https://lore.kernel.org/r/20201127140559.381351-3-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/function/f_acm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/gadget/function/f_acm.c +++ b/drivers/usb/gadget/function/f_acm.c @@ -686,7 +686,7 @@ acm_bind(struct usb_configuration *c, st acm_ss_out_desc.bEndpointAddress = acm_fs_out_desc.bEndpointAddress; status = usb_assign_descriptors(f, acm_fs_function, acm_hs_function, - acm_ss_function, NULL); + acm_ss_function, acm_ss_function); if (status) goto fail;