Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3695112ybv; Mon, 10 Feb 2020 04:52:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzcIbq83ovyW9P4Q/Cm2Cm3v75lx1Y/4nK21waazywBWw7+n+FlSUxzuDn9dyQNY8pt0+bE X-Received: by 2002:aca:2803:: with SMTP id 3mr687313oix.162.1581339139686; Mon, 10 Feb 2020 04:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581339139; cv=none; d=google.com; s=arc-20160816; b=gAmY7axH1NUYqSWvEmbTVeGCw46X+MF36QHgVdLfU754KirQDcNt/zb6JSRqaXNZyT UR89HqkOjmmuDwziQt994gbA/PsrhQ6Soi/5heTBO4AASA9M0JbQGt67OfYzI6Ofuipq XivfxbRtrXDM/3+U3yh5mR9K0otGodnrgpViLmSLF4dcYvEdMKH420Cu3wMd7+/mvln5 hFwbXMth27Ptqt+wy9Mtef7n7eoQfxfSdD4bRTEGLvdIbfsf3c4L0UUvOZzkTEuJjOcy XEYtuv+JWXj52nEefWlAXOWFNbrB8NXmlv1CwWqZdTDFJSG7UK7cQfmSU4J35oAbIR92 bWaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JXFBve9Q95cOItSACeTva2GbbgMOTVcsOekeeXdnxdA=; b=RwhW/YqeLDJhhuM98NxrSTmsnIvstRT6amunxYCGZo52GGhXswbUbAh4J4MtHe7Dwg uombrdwTKUTxVkyQa+YmiOZvJ0CJMGiUrkxRQP0ap3Si0+teb3Co4/u4A+70BdXDYUmC /jceinU17wAwe3IawHOTFhq2UTRIGjriV3/gdlmi6YfJMDNfJL6LqU2IDjIvphBmtIrX aRFml8fS1DRdBD/RI0KWHoiTjynYgo0cyggmS3vEA6Jzt6oGzZ4vePRU0tQhYHBydb+1 86lQ/cm+xBPoab81oQxbSRYNFn01S93qCaM+KskR2KCh7ggnqN74bpY7fuECqjTzaJCL dsmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TAjuNOY5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s22si158791otq.100.2020.02.10.04.52.08; Mon, 10 Feb 2020 04:52:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TAjuNOY5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730343AbgBJMmw (ORCPT + 99 others); Mon, 10 Feb 2020 07:42:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:37658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729446AbgBJMjf (ORCPT ); Mon, 10 Feb 2020 07:39:35 -0500 Received: from localhost (unknown [209.37.97.194]) (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 916F820661; Mon, 10 Feb 2020 12:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338374; bh=jS83w47p1mXqjnFe6p2467wdGU/BA9mLrI7pCQeZL54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TAjuNOY5/9aEfsV9CfFyjxFopicZTT1+zNs3KZPbvVUlRZjh3oostIgwMHjVeoEI9 +0OuHB0x0dSEWDyVNiZYA2wcN/mht3/eXxthYgpwltWPS+/pinV82nNeL4F9ks/VeL eS5KQbf+DizEsAG2B1bzs71ct19Vent75FtSkVK0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Roger Quadros , Felipe Balbi Subject: [PATCH 5.5 048/367] usb: gadget: legacy: set max_speed to super-speed Date: Mon, 10 Feb 2020 04:29:21 -0800 Message-Id: <20200210122428.478442017@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122423.695146547@linuxfoundation.org> References: <20200210122423.695146547@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roger Quadros commit 463f67aec2837f981b0a0ce8617721ff59685c00 upstream. These interfaces do support super-speed so let's not limit maximum speed to high-speed. Cc: Signed-off-by: Roger Quadros Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/legacy/cdc2.c | 2 +- drivers/usb/gadget/legacy/g_ffs.c | 2 +- drivers/usb/gadget/legacy/multi.c | 2 +- drivers/usb/gadget/legacy/ncm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) --- a/drivers/usb/gadget/legacy/cdc2.c +++ b/drivers/usb/gadget/legacy/cdc2.c @@ -225,7 +225,7 @@ static struct usb_composite_driver cdc_d .name = "g_cdc", .dev = &device_desc, .strings = dev_strings, - .max_speed = USB_SPEED_HIGH, + .max_speed = USB_SPEED_SUPER, .bind = cdc_bind, .unbind = cdc_unbind, }; --- a/drivers/usb/gadget/legacy/g_ffs.c +++ b/drivers/usb/gadget/legacy/g_ffs.c @@ -149,7 +149,7 @@ static struct usb_composite_driver gfs_d .name = DRIVER_NAME, .dev = &gfs_dev_desc, .strings = gfs_dev_strings, - .max_speed = USB_SPEED_HIGH, + .max_speed = USB_SPEED_SUPER, .bind = gfs_bind, .unbind = gfs_unbind, }; --- a/drivers/usb/gadget/legacy/multi.c +++ b/drivers/usb/gadget/legacy/multi.c @@ -482,7 +482,7 @@ static struct usb_composite_driver multi .name = "g_multi", .dev = &device_desc, .strings = dev_strings, - .max_speed = USB_SPEED_HIGH, + .max_speed = USB_SPEED_SUPER, .bind = multi_bind, .unbind = multi_unbind, .needs_serial = 1, --- a/drivers/usb/gadget/legacy/ncm.c +++ b/drivers/usb/gadget/legacy/ncm.c @@ -197,7 +197,7 @@ static struct usb_composite_driver ncm_d .name = "g_ncm", .dev = &device_desc, .strings = dev_strings, - .max_speed = USB_SPEED_HIGH, + .max_speed = USB_SPEED_SUPER, .bind = gncm_bind, .unbind = gncm_unbind, };