From patchwork Thu Oct 31 10:42:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 178153 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2635855ill; Thu, 31 Oct 2019 03:42:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyE9Mj98Y9P8ZnzIaYW551Y96dwn0cP9/zX1G8e6cZHESMzPYUYitPrY7NBj0kRtsAakp8C X-Received: by 2002:a05:6402:b06:: with SMTP id bm6mr5181079edb.160.1572518542160; Thu, 31 Oct 2019 03:42:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572518542; cv=none; d=google.com; s=arc-20160816; b=nNfDYZPwXDeTAeGnr/w9FV+vs+HlYvIb8PE3SycWDVPvkpyGg2z+Vfqm2ZbIwNEI4y fOJDigaQDZCxMDfBhYzhResJNo7AWxS0kn68vaf/n+QUISzCJcuwTutGuPuUu35Ppv5G ZTw+SyqAiJk9rcLLEI8VV3wUHp9q8WVnRlNsdiovWB/vRbVM27fSHC7zOF4Tdoa/BJsf Qj30K36xbxOrFrXmMEOJhDep6UdaIevfmwpu/OE21mBjrsJbif2XwGoc8t6MAOjr8pn4 B9eaWSGo0Fy7m/sNObe5tJCH4T1PFekONKR9nfNQwaw81rmwMozWWC3N2PP1m4s/c9/2 EFug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=gO70mmf9IcQUlslo7qjHE3n0N/IXcdjUkVz4JHG/ARU=; b=ejPRdL1IhxN+2Ky6HWXOOD9nxqQQHRP3nXbZ92jvG0O9LhseKF5maARtHvKZzzEJFp 5dAwTbdKtycbV/oX9+Ly8kjNvB4a+/rPcpIgx1j/9INSLmPCE3d2uAr96M9l/Z4o4SNB K6Yxw0Zdof4jBIuH1hMcyNcwuautnqltgezda5ysU2AZ8/5Cl0friUG9IrFdCMm8wvv1 WHG76NkfbWJzVxEQR448pbDfl0wTr47N4zGY49isYeAugPXEVo9wLjMVPqJes/iVhXCz jsQejQkryoCUlHMOqLea9cqKN9xGaSSfywjVgVYC5FQ47mMXMgGC95SUEx44fvil7/Jz J11A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vZ6B5btc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si3376780ejz.92.2019.10.31.03.42.21; Thu, 31 Oct 2019 03:42:22 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=vZ6B5btc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727070AbfJaKmQ (ORCPT + 26 others); Thu, 31 Oct 2019 06:42:16 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:59576 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbfJaKmP (ORCPT ); Thu, 31 Oct 2019 06:42:15 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9VAgDDo034865; Thu, 31 Oct 2019 05:42:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572518533; bh=gO70mmf9IcQUlslo7qjHE3n0N/IXcdjUkVz4JHG/ARU=; h=From:To:CC:Subject:Date; b=vZ6B5btco0icM2RvPA2GvrDsNC8vYz61kUNrh3rjVn2Nwi8NuVZc08IKolknZXEzx 0JLettfzXHF6HWxz0TNXqoB58glpP1hFQM+Wl+1kvNilTT+fGpJWhFR8m4vdq/GJlv etCE8rAAmsbdHd59bie/sObhoFU15Z4ObgWFQp7Q= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9VAgDuI085979 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 31 Oct 2019 05:42:13 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 31 Oct 2019 05:41:59 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 31 Oct 2019 05:41:59 -0500 Received: from lta0400828a.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9VAgA3U084883; Thu, 31 Oct 2019 05:42:11 -0500 From: Roger Quadros To: , CC: , , Roger Quadros Subject: [PATCH] usb: gadget: legacy: multi: set max speed to super-speed Date: Thu, 31 Oct 2019 12:42:09 +0200 Message-ID: <20191031104209.25451-1-rogerq@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org multi uses ACM, ECM/RNDIS and mass storage interfaces, all of which support super-speed. Let's not limit g_multi to high-speed. Signed-off-by: Roger Quadros --- drivers/usb/gadget/legacy/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/usb/gadget/legacy/multi.c b/drivers/usb/gadget/legacy/multi.c index 50515f9e1022..ec9749845660 100644 --- a/drivers/usb/gadget/legacy/multi.c +++ b/drivers/usb/gadget/legacy/multi.c @@ -482,7 +482,7 @@ static struct usb_composite_driver multi_driver = { .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,