Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1154387pxu; Fri, 27 Nov 2020 00:38:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0pRS2KAWciLMXZn5Qh3Y33ThMOLrybh9pnqBGUFJrIIVNqWWFF/7F39iOc2bVAhIYs6GN X-Received: by 2002:a17:906:ae8d:: with SMTP id md13mr6862076ejb.300.1606466311867; Fri, 27 Nov 2020 00:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606466311; cv=none; d=google.com; s=arc-20160816; b=nkEdmOEKbq4iLQypLz2ZWsyOWip3YU3eFwN1y88nBbFygz1OVUu4GrtmsoqXLWBtnA z3NSo6gZpV94QXuq58wlyznO2K+FAG+OzlyKlW9z5+FuvP+ENauruk/E0PDIZfsA5PQM 7bVqtnp87rvNfSx+6rGUIDO8hmH7rcbXlMms+4MVVR8GKtw6bhsY54LpNxr7uTOhDhiX 06L/SBb38Txl/TMOOspz1OllnRspbrVGmy2r4vEZ+NN760FUB00J4PIRESlQkaKolEU7 bE4RqitDxTcVDDXaFvoOdMTeMviEt3gPDHfsWkX4iR6dko17HQZ5AVHTwE0Ez+tEn0xh Ogjg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=etutvXuY14C0d94WJ0fvlLeW3eXUaxduhen4EUyaL30=; b=kMeNttRUrAB3XKrrv6fMfnDtVZHkxmJP1PiEEEdYEQGg+nVtlGGTRKgYwHGmooQPQ1 kk557xDrwprj2dNe+/1YHC57ZY5TMUNhitYGaUhL+IpZcyUXR1hZoVtuevBjYvMq33Yt B9Ye0OLXlI/XXvxKRO6KPD+U76gPH/+8t4+un2pOnZJdgtvk+vnPXSIWCOuaLNJAw8ZM AsXfArqX1+HALeBk90D/wDgs8wWj8yjwAoXQTc4enTWM6WjunmyCAQsT6p59ef5BIkQj 83csd2hpKYilRdAcCGmMDvVEfi7NcEViFl6O6WrM7nx9fIFhqjSLT/gMO8fyCKd2tMbX jROw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nu97cKBi; 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 a4si4546784ejf.460.2020.11.27.00.38.09; Fri, 27 Nov 2020 00:38:31 -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=nu97cKBi; 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 S2404651AbgKZSJo (ORCPT + 99 others); Thu, 26 Nov 2020 13:09:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:54796 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404399AbgKZSJo (ORCPT ); Thu, 26 Nov 2020 13:09:44 -0500 Received: from localhost (82-217-20-185.cable.dynamic.v4.ziggo.nl [82.217.20.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 44E9B20B80; Thu, 26 Nov 2020 18:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606414183; bh=3JjTDOyYVxukDfVxy4bxD1p5JbBf7cND6hzFY+V/ZV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nu97cKBiFiQmxrR6doWBifgnMeO01sSsbMuOAFMjS7fv03BjlNpzSZogdFHv+pqj9 wKZ5VzEGDDRTzewGu2rMFlv3mlUDf66CgfxxGD8YHelNN/tYj0avWjoHPJWZf/QtKa D5yEP1UegjSXsI1EjUn0NdFD0ohxzRR17/htoelY= From: Greg Kroah-Hartman To: balbi@kernel.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "taehyun.cho" , stable , Will McVicker , Greg Kroah-Hartman Subject: [PATCH 2/4] USB: gadget: f_acm: add support for SuperSpeed Plus Date: Thu, 26 Nov 2020 19:09:35 +0100 Message-Id: <20201126180937.255892-2-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201126180937.255892-1-gregkh@linuxfoundation.org> References: <20201126180937.255892-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "taehyun.cho" 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 Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/function/f_acm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/function/f_acm.c b/drivers/usb/gadget/function/f_acm.c index 46647bfac2ef..349945e064bb 100644 --- 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, struct usb_function *f) 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; -- 2.29.2