Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2018525imm; Sat, 15 Sep 2018 07:34:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaybTERUGuJl43jmrCY9lBa6QQso5wh53PSxYoHBy6ymvf+8A0M9JjstQcNeov929+X6kDW X-Received: by 2002:a63:88c8:: with SMTP id l191-v6mr16414445pgd.340.1537022059603; Sat, 15 Sep 2018 07:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537022059; cv=none; d=google.com; s=arc-20160816; b=ZkrUJKd7TJpETo01ijQh8g2Ju2Q4tEDDIO3tuA2xRPW/k7mNqCyGrHdBRvPi3t3V97 h5SB2/To95mDEmWk02oEkuwVXPOUo3BssGce7qfR8/+K330lnk7paj4XrAaRJXZiP/wR IrajOYwdYBjs4OFInx5A00YQWNcudXIq3JL8oXWvnnw1/DqUu9Uz/4QOw3+f9tmvz91/ O4Lzrd7oSGurMp9jPjSHBL93/oWM9MU93sEc1Dvl20/Q6Y9v7VD5nFPiCqEfgDIaLdOZ jhy25nHX5198veF2ZerpmiM8MbupQlvHxmq+AQEIEP4gig3pAtg2ekLAAucl+A3RZP+H 1DDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YHKTFBCrGpeeBxkWvOvxpl4OX01ojhxm6czd0z3qOaI=; b=N92cb5kl7P1l6x0e1wDcmHOHKOX+LSUM5Z6+JeLBLwpVqVC9SKsvbChGnaulhpVouX JZs3/qvFWUJvc8DEeKEZgkUxqz0OYmwFRJGJ0o26+g7avk3NPZZDRvwmHz3SodjqdN+Y 6aLuaGvy6VQ5AUb4gout+6bGW8J1m7c351rJg0p9wl3Ui4OC1kxDAHKB5KJnj/pr3xYA 11woqWYVH916zx8xUeYvqVI3jYHOFCNsuX6BQ6BsZ/XBnQDuMSUgVHeHSU9zhc+6eIGs BoL5O6xFQ8hQBW6Bg8Lbr6V84RlwbPloGIV+a8wNrAclyLJ8HoiuUkzd4IktbX3Kw8Xp bUBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=RAUCULYt; 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 n8-v6si10154278pgl.101.2018.09.15.07.34.02; Sat, 15 Sep 2018 07:34:19 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=RAUCULYt; 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 S1728196AbeIOTuy (ORCPT + 99 others); Sat, 15 Sep 2018 15:50:54 -0400 Received: from mail-by2nam01on0062.outbound.protection.outlook.com ([104.47.34.62]:2379 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727162AbeIOTuy (ORCPT ); Sat, 15 Sep 2018 15:50:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YHKTFBCrGpeeBxkWvOvxpl4OX01ojhxm6czd0z3qOaI=; b=RAUCULYtNwr94fhZXYfgR1V8Lx+g2D1VM7KRwn6r4ZAGIaR5HErmMdgFdMJAKqJPGTDPJJCdIhtJGajbHmynnCDD89GkRU5X9gSLW01la9B6IQZlRx2pUvKuU0PG/6NaQ7hcBZhemo5yyDsOh8ZdMmZKORxRQUXB6heLX/bPF2s= Received: from MWHPR02CA0027.namprd02.prod.outlook.com (2603:10b6:301:60::16) by BL0PR02MB4466.namprd02.prod.outlook.com (2603:10b6:208:4a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.18; Sat, 15 Sep 2018 14:30:31 +0000 Received: from SN1NAM02FT038.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::201) by MWHPR02CA0027.outlook.office365.com (2603:10b6:301:60::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1143.15 via Frontend Transport; Sat, 15 Sep 2018 14:30:30 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT038.mail.protection.outlook.com (10.152.72.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1143.14 via Frontend Transport; Sat, 15 Sep 2018 14:30:30 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:34650 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1g1Bag-0008C5-20; Sat, 15 Sep 2018 07:30:30 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1g1Baa-0004qu-VF; Sat, 15 Sep 2018 07:30:25 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w8FEUNGL024950; Sat, 15 Sep 2018 07:30:23 -0700 Received: from [172.23.64.8] (helo=xhdvnc108.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1g1BaZ-0004qJ-3g; Sat, 15 Sep 2018 07:30:23 -0700 Received: by xhdvnc108.xilinx.com (Postfix, from userid 15427) id 49388604AD; Sat, 15 Sep 2018 20:00:22 +0530 (IST) From: Anurag Kumar Vulisha To: , CC: , , , , , Anurag Kumar Vulisha Subject: [PATCH v5 5/8] usb: dwc3: don't issue no-op trb for stream capable endpoints Date: Sat, 15 Sep 2018 19:59:58 +0530 Message-ID: <1537021801-23896-6-git-send-email-anurag.kumar.vulisha@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1537021801-23896-1-git-send-email-anurag.kumar.vulisha@xilinx.com> References: <1537021801-23896-1-git-send-email-anurag.kumar.vulisha@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(346002)(136003)(39860400002)(376002)(2980300002)(438002)(3923003)(199004)(189003)(486006)(336012)(2616005)(36756003)(476003)(36386004)(6666003)(54906003)(356003)(42186006)(52956003)(106466001)(126002)(11346002)(103686004)(446003)(50226002)(305945005)(90966002)(63266004)(81166006)(478600001)(48376002)(81156014)(8936002)(4326008)(2906002)(50466002)(106002)(107886003)(16586007)(316002)(6266002)(8676002)(76176011)(26005)(426003)(110136005)(51416003)(47776003)(14444005)(5660300001)(186003)(39060400002)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR02MB4466;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT038;1:hiSy7ipEDN8svjgDyU95jzOrWORaTSil0fExjl1B9pclK3udwdhvd1Q2XFVz1OqpPAvTh5GXZvCgQGaQ0gELGeGMw+AahwTakOsy/ndkgGs/gV0HBuQpEuwPWQWGYpax MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7f069c12-286a-43c0-e3d2-08d61b17ca09 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BL0PR02MB4466; X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4466;3:rr0jBb4jDnMjjEL1PA0I+x+9IVZ6LahGmn5Yd7kLVgd1LVSpOEQUhO5xOrNJw4jSwu43GAHD5yg1A9dmcDqIYILAk8mNOykscnzQRY5V7dH+I0FoHmbz4Kxtd4Dk9JFuVHd0VXprTd3EtIzXdckV0gTnVRoMkx1Hx5vKS/Gtms2wnNaCDNVJRlqPfQxTbhKTIXRm9k5Tu5i8efGWMi4OViTFAnjEnZV3v+qSuHW1lNoD3NR3mSzqjsYNBv1X0U+5cW0jHUR0PKllsaTnE9jq+PiJyDVEJyrVfx5bvg7KKW4IkU9UkORS1HpgWPRqDj9XBAilZOTG229BCq4kjHeRGA+qnyIFq8XPENGLu4z93/I=;25:HqnGl7r3C1iVScISlovq47NPrMZykOHJr34Vgm0EFaepaf/wg7F5r8G6INHnVU1Z6/En8snJdOwhcgQrVEFz9RU6Mbd9G2qvsYpR7ncNVph1nG5Dz871KAZmjygIPeQkuCoXoTKszTTmNKZO0YATgDknrzfrYCvDqxpcm31/bxKIIIyVJtwDR42u64zZFoq4DZJgQ7L9ScS/SPEZXdxHQwpojrBJ/Y8EuqQTIZ987B6Roam4iLixU0Jykr9WXmwcAuavh5KjUTkXCqQgcl1tHvFly5SuQOm5OrLI45ppQoKizQMW//RhGPhDEBvZCtpG7EUodcn2yZoO80/N+/BvCg== X-MS-TrafficTypeDiagnostic: BL0PR02MB4466: X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4466;31:D1w1cxjtR41K4oJ1NWg5Z4LTdK84L0Yrl0jpHqCFgSnLhD+cJYc1WrPR3wg/hEONmByPz+hphFL457mVyFFXRSwQfb+QGznUhS/fwVQsiaDYqH80lYACLU7pdUMmsY+EGYTgXNnliLGHsY1fAIOKaDATK5XrmNtOSkhrWHnfDmx995u/W4nd4f6/9qwg3eE6EuvnRRfT2cNEH3OkwGUaBZBwegg2WsMFZGzG++f48HU=;20:rYXSRQ3Hl/OsfPyv6cJNCaSWlC4IO6GDg7EohwIuglVb/QuCdEFCw1oDpDcwQe7MVn6+dTNLwTSnQizFpc80lnDQs6ArIwkt/eyxiNuCI7pUEmAWPu5kQ1CRJAz+23j/KdOtrtfTv/pwFwpcxn7BFw+JKXYaOEWN0B2cq4BaJwiq96TTe3F6wuwI6n4LrQ+U3hpX0RWZ1YI3H5ptj9MM0BU7U2f1UbYkuKS5HOp0aAtbHu5TZ0rESmU8yHOGwKFaw5Z0QvTOdPelXEIp3G09KXLlmvcOWxxqMzVSs3rjSf2osige25CdGDBjlDQMG4T3PGDKqUMjftbFbhAaql79zGkadvlwl8P4q2iocD7dVCFgKluAosFkwqy8qIzqZM5XgqLMz/ZOTZZuDlqDiGbjTO8WVYJ+xE5fKh6HS6yhWnCcBoYCB1YwaC2q734MWk7QNpKsz767b6lbDkFQ4qnDzP7BKs03xdfVUxJTrCZOInrSwVb7Nd9UAGbxrldX/aYi X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93004095)(3231355)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699050);SRVR:BL0PR02MB4466;BCL:0;PCL:0;RULEID:;SRVR:BL0PR02MB4466; X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4466;4:sjtwrWoeQsZzE/mEMgRDwg27jOSkR63T3uYTtUldx1wpiX3ekySGnJAklosuPTvmbaWtTlfUbii4V++k+z2aI6BK/erWKwgka6YGka8av8KEE4KJAboOaCrhRShXTR7MaF6KCqe8DDDUa0nk3hY3yd5gUqtRCqDx3AsC8Hd+JKHunwEm4wfCPyrT6eV6Br6Zw41HQcg64D1QVySdg0CaWM/opvqG86kySAJx0N3ZCpAnCbRR4zhSH1rLxPb8R4eHe7wT4UKzQHvnqLWL+FyDgz+FCgUMq1zU/D84Vr6oXU+NKurL4VbOddgQJALrQoKM X-Forefront-PRVS: 0796EBEDE1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL0PR02MB4466;23:ZOa8iVmwK7lds7ZfqbG9I4WVXGdajPwhPeNZ1EcFi?= =?us-ascii?Q?idQGUzRZaLW0Wdk5ypl9Stoow0HyrxDEBgDkXJlrc3leL592x/UeHEG5A8UO?= =?us-ascii?Q?uwGGGnBWwoO++kwVBy3ckjNtDE8Qg9iHW4d+dWGjaV4ysDOKVzOzJ6VeS8yB?= =?us-ascii?Q?vo7ouj/+htZ8iv54iDjxNn+xeM+wyh+d7x84QcNFguZGaeXZ6DeHzERZezv2?= =?us-ascii?Q?OOsh9H2sS+QvLUzCJ0kD2vlQBPYXit14faQT9SqCQftP2eHUVB162/2/hRI4?= =?us-ascii?Q?AC/v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m3HcBkYHNl+RFzJ9/PYo+tULcorVDQDCi/v8dEEuvx+GjyglQR6VGGvO1E5cvKkIj/w0bUi3qDXFoqbhE3+odTkWx/7CyVBXAsqrQXlj/iBbHHyhyun8A7oJMs89M=;7:cdegy8eWK3ewG2GP4bA4cXnErWstRJI8OWovnKjQYfMhBgCykjNB7UyMjCOwBx7IL2bgboUaqKX27fLZ72jZ4ixVdrHBQgrF2k1Ysj6ZwZoblIjHf7NlkONzzUGOVyZzFX+SdcftHfhYnt3amlB4mHkEyhThzyb4kYj1OuHG+hUxlbBWMVm32NlKZGat4jKDORIHO1/EJZgCDx6rLkyGAgw+Clw0tErMSeQpLoTqZk66HvI6jF/2h1P49u5WhdAt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2018 14:30:30.4534 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f069c12-286a-43c0-e3d2-08d61b17ca09 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4466 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The stream capable endpoints require stream id to be given when issuing START TRANSFER. While issuing no-op trb the stream id is not yet known, so don't issue no-op trb's on stream capable endpoints. Signed-off-by: Anurag Kumar Vulisha Reviewed-by: Thinh Nguyen --- changes in v5: 1. None Changes in v4: 1. None Changes in v3: 1. None Changes in v2: 1. None --- drivers/usb/dwc3/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index e18f9b9..b2d68f1 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -677,7 +677,7 @@ static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) * Issue StartTransfer here with no-op TRB so we can always rely on No * Response Update Transfer command. */ - if (usb_endpoint_xfer_bulk(desc) || + if ((usb_endpoint_xfer_bulk(desc) && !dep->stream_capable) || usb_endpoint_xfer_int(desc)) { struct dwc3_gadget_ep_cmd_params params; struct dwc3_trb *trb; -- 2.1.1