Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1147212pxf; Fri, 2 Apr 2021 02:31:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUXtZxUKoCwPIVCHxNrPFgeXVAWCMd2pvM5Nj28HZVE5s34OQrhcDKZ4FD5Ahf+a4EMMe9 X-Received: by 2002:aa7:db15:: with SMTP id t21mr14632918eds.145.1617355863236; Fri, 02 Apr 2021 02:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617355863; cv=none; d=google.com; s=arc-20160816; b=krD02hXwoPaatubMGQA1g3PetacQbBpojvuyu6Qv4MOF3BvLFc8yLp+BI+DRZFr4I3 vfhFMqvZDkB79FtIAzrA/0mQfEMIwV1ZrUjNrjv8XZD4lan2Qi4q19dK1uVsrT9n7nih p6MRrB28Ue+uq7YyQOLuxq2d7fqD8XM6NAZuCt7xC2D2j28W36HTG5df8LBBseFD9NnJ I4/X9daSqChxp9PcN6Vzmhz/KaS6eGqkoPoP+EeGEXEX3jMchQYzilodV45jk8nwtY+o yFWuHwuH9gqnfRfax/vlP5/ImLlhr3Pifqj3fyfc0/F/K2x8SLIEMzjtZkqwLBuH5oQF AUPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=bo0d+XDj4ckNRZw/o0SJj1T4hw/m0I2/WCMIKD6l6EA=; b=dxcbiHMjtNAguE/Oo5xWsuNMlGueOtDDMVFDYVUTN2kJvHMiwxJ7CPbUFFHtLXJFVy fj0kbwkf2nEL0vu9+JaH9Qzg6ZOApctFqykVUqNE5uQfzVooEnMhFl3/gT42aCk61Cw8 KfTtt3tkwpMMG/FVGIbEs5n/nwn6Sg9XGJmYZKJ6ShS2VHBV+TcjYovwMhvNLpduAW9f Lnbgi1uFo2gl8uFpxJnk82wfo9lHneohh7YLO+mEZxy21xyTF2YcUxeANFDhI9Z6+QQR 9OSjedjHXMKiC81ati8ndwKMs9Ezzu86aFZIZHr5sg2FshxQ/f6T7edS5RgkGk9HsQ3H r2pg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si7218884edn.450.2021.04.02.02.30.38; Fri, 02 Apr 2021 02:31:03 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234830AbhDBJ2D (ORCPT + 99 others); Fri, 2 Apr 2021 05:28:03 -0400 Received: from comms.puri.sm ([159.203.221.185]:47526 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbhDBJ2D (ORCPT ); Fri, 2 Apr 2021 05:28:03 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id E2C57E0440; Fri, 2 Apr 2021 02:27:31 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kz69dXS-f4HA; Fri, 2 Apr 2021 02:27:30 -0700 (PDT) Message-ID: Subject: Re: [PATCH] Revert "usb: dwc3: gadget: Prevent EP queuing while stopping transfers" From: Martin Kepplinger To: Wesley Cheng , gregkh@linuxfoundation.org, balbi@kernel.org Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-usb@vger.kernel.org Date: Fri, 02 Apr 2021 11:27:25 +0200 In-Reply-To: <57733e4d-7aad-4564-9ebf-8293a9a4d4e4@codeaurora.org> References: <20210322121932.478878424@linuxfoundation.org> <20210401115558.2041768-1-martin.kepplinger@puri.sm> <57733e4d-7aad-4564-9ebf-8293a9a4d4e4@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, dem 01.04.2021 um 11:09 -0700 schrieb Wesley Cheng: > > > On 4/1/2021 4:55 AM, Martin Kepplinger wrote: > > This reverts commit 9de499997c3737e0c0207beb03615b320cabe495. > > > > Signed-off-by: Martin Kepplinger > > --- > > > > I more or less blindly report: > > commit 9de499997c ("usb: dwc3: gadget: Prevent EP queuing while > > stopping > > transfers") results in the below error every time I connect the > > type-c > > connector to the dwc3, configured with serial and ethernet gadgets. > > > > fyi, I apply the following to dwc3 on this port: > > dr_mode = > > "otg";                                                        > > snps,dis_u3_susphy_quirk;                                           > >      > > hnp- > > disable;                                                            > > srp- > > disable;                                                            > > adp- > > disable;                                                            > > usb-role-switch; > > > > v5.12-rc5 does not have this error so I'm not sure whether it's > > more appropriate to add something to dwc3 than reverting. I hope > > usb > > people to know better and maybe even see the problem. > > > > thanks, > >                                martin > > > Hi Martin, > > This has been fixed with the below: > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-linus&id=5aef629704ad4d983ecf5c8a25840f16e45b6d59 > > Can you pull that in and give it a try? > > Thanks > Wesley Cheng yes, that's a fix for my problem (and what I secretly had hoped to get :). Thank you very much. In case it helps: Tested-by: Martin Kepplinger