Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9176365pxu; Mon, 28 Dec 2020 08:28:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwr6WczRJaowPmYdnRRC2VFYtlJ+Zhu8a8d+j77JqJ8QsApixZ+xSWkNovUp7nbIP1Psre4 X-Received: by 2002:a17:906:ca47:: with SMTP id jx7mr43860356ejb.237.1609172930838; Mon, 28 Dec 2020 08:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609172930; cv=none; d=google.com; s=arc-20160816; b=rHSdhV1m4ZsQfw/ZFTBZ4muHPk7DdvuhgyOG6YzeapqivbAiFyqfwHzWUmKrfR62s4 AoBNmVYG8WVP1qu8hO1ybDwjAuY5wqhqkHfZC3qm9FoRQ7eB+vpGm9jUyi7UEGOWrvbd jfanKHItRsGyrp9h4k9nQM2YCGF/NkJ9UpH1OO2CCzYMxc81pe5WgQUHaVigb1/bhDip geO2W7ixwTJy14n3mtnVDImb0ieH89ElrufzTvZPjUDzAgX3ZM5Afoq2c99KbPGk+CuV o093NwWgrxmed3EzGWWQ7Tz2FbTU0mktbGyhmEffESS7nmvZCc0MGdJeSsdSsdzMt2sH Z0Bw== 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=okQM8cuwdMWZA3SXL6Vvn3/T75aYi5ZDTt5JlmJE42g=; b=iaKw7Uf1Z+RrvtQceA6zjdtDvPy1v9hASul9/gcsibT76nu4vm7tdtIhRIoyhGAjck 0XJPYdoEyjDivJM5BmPcxsiW/5ytladMPG7QQz44M6X+n7AZ4w20jBy9wiCpLboPVxPg RAAgl2cfCsAqvUkH4gTr9Dh6tbk2mSPzOgw5CrPtZ2LKi5dRvQU4cOXiJ6RrpH6rzegQ pHZYmyYOR/Pw5X6iiYTCj6sYVSEs+ejIMuRm6GwJMgj41A1OFWkKeSBmQGRAnRkin112 8r074woZcnFJ0z1Vn63qY7e0eoijnKzcUCOu27N56b4cSjP+bkOe3QWR8lPCOMQrOacQ r+fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kwvIlZdp; 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 hr1si19038596ejc.474.2020.12.28.08.28.28; Mon, 28 Dec 2020 08:28:50 -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=kwvIlZdp; 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 S1731222AbgL1NJw (ORCPT + 99 others); Mon, 28 Dec 2020 08:09:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:37600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731161AbgL1NJu (ORCPT ); Mon, 28 Dec 2020 08:09:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C094207F7; Mon, 28 Dec 2020 13:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160950; bh=Eu3WwfxvjsfbZcO5t0tR1Cdq6NyZA4LKnONh3i5U5sc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kwvIlZdpUbti09kXJtUVW8JQSjSK8fjrIUqgxPfn/MjKIM5zQEYNtHumtXhJ/Rdvj i/kXdS6d41IJ95xL57266Sbx/aFi/Sgzp46tjFiRarll0lgflT87ZB6SDsZjbW/2le WHcKO8hzQU18+V918Lkeut3mPUwzcu8Xd5js2hmQ= 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 4.14 050/242] USB: gadget: f_acm: add support for SuperSpeed Plus Date: Mon, 28 Dec 2020 13:47:35 +0100 Message-Id: <20201228124907.145682488@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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 @@ -687,7 +687,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;