Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6393865pxb; Tue, 15 Feb 2022 01:13:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfVnGiZ4cFfVD/qeZNAoVvCV3KgMDCcjjaOBKS7IDSloeGKNVyoyo9xXq/WJAGa5fzBFL2 X-Received: by 2002:a17:902:c7cb:: with SMTP id r11mr3143506pla.24.1644916384545; Tue, 15 Feb 2022 01:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644916384; cv=none; d=google.com; s=arc-20160816; b=C4UgVMdS7t4tl9M/LCyWXFyIRUfVgyMuwwIu2h2b+iayPnekZbR6fz4TndpwNzBsAt 3tOWIwgBmizK8Q6mORjKYdJTG4tm7DldcgYKrKNUCo7yDqKnh10RNIETDoyUHCQI8RwK U+2976OOgRohj26e49zAfnc0bDt6HPyeNp94sj1h1NqIeeHLzQ1Ca5BSIw2x5pMKeIjD nD2SkREa54rmWXCieDErdChbMNnGjQX0sE7yNdIcnwtED+11JyvGRhe/jzVWzmqQhx3z pTUa/Y32MqndMuyU2FDMrttNzSdf/1jolcdaaCkAKl6DiaAiuDJZx/crUl1yXHOncX9H DkBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WoJjD+FtwyxcfVwkoyXFTy5Gij3ZspPRLFW+9luhOjY=; b=AavmpMn0t+XDd79WDqqmyIEZ5rh2kqQIzLlxZ326qUMqemKAXClwpGsAhf83XDth+j S4DKzoM8HwF7Yhka3TOmgtfsFlu/x2HWvU/vido0CuKEYAyxXZSMxLR+o4KZyr/OY58m KMFS1L7Oo/CGpM2OmedY2R6oBBvA7p1tIXLW7SX3bTvFhulJp8V2nUY70y1iTIZd6tai 23zsht1undXrK0WC78LwzH3iYVKjg3o1dzASYraxt4vUIIxIc2lVjJjbh4KN3VzAa3BU b0OFq6lIOXuAk7Vu4aQC+oyWvkQ+XjBUmpndK/E0awKZq9mFblC+q0t0FLsI2pUe3Bq2 cSeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pS+1F9Sj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1si2732612pgu.609.2022.02.15.01.12.39; Tue, 15 Feb 2022 01:13:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pS+1F9Sj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234859AbiBOHh2 (ORCPT + 99 others); Tue, 15 Feb 2022 02:37:28 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbiBOHh0 (ORCPT ); Tue, 15 Feb 2022 02:37:26 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 501E7657A1; Mon, 14 Feb 2022 23:37:17 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ECF55B817DF; Tue, 15 Feb 2022 07:37:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29254C340EC; Tue, 15 Feb 2022 07:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644910634; bh=MS4a2sCHLZDfgiTN71t3s65oVZd6bxNMNM0atcJwRWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pS+1F9Sj4fbMu0Y2QNh0UNCUsswFlNNCkvOQCsYb86ZoSrdbKstuOh/vHEnPYQ6N5 KuBooyEaeTAaFvi/dqpcY6FEHzIRR0/K3BYlCekjIP398Q3y9OIiQ9ngiiWLFGF1ku HNB67wXhckx/Ila2/JHhITi6G7iQ7nRk+FkdPtg8= Date: Tue, 15 Feb 2022 08:37:11 +0100 From: Greg Kroah-Hartman To: Jung Daehwan Cc: Felipe Balbi , linux-usb@vger.kernel.org, open list , quic_wcheng@quicinc.com, quic_jackp@quicinc.com, Thinh.Nguyen@synopsys.com Subject: Re: [PATCH v2 1/2] usb: dwc3: Not set DWC3_EP_END_TRANSFER_PENDING in ep cmd fails Message-ID: References: <1644836933-141376-1-git-send-email-dh10.jung@samsung.com> <1644836933-141376-2-git-send-email-dh10.jung@samsung.com> <20220215065826.GD144890@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220215065826.GD144890@ubuntu> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 15, 2022 at 03:58:26PM +0900, Jung Daehwan wrote: > On Mon, Feb 14, 2022 at 12:29:49PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Feb 14, 2022 at 08:08:52PM +0900, Daehwan Jung wrote: > > > It always sets DWC3_EP_END_TRANSFER_PENDING in dwc3_stop_active_transfer > > > even if dwc3_send_gadget_ep_cmd fails. It can cause some problems like > > > skipping clear stall commmand or giveback from dequeue. We fix to set it > > > only when ep cmd success. Additionally, We clear DWC3_EP_TRANSFER_STARTED > > > for next trb to start transfer not update transfer. > > > > So is this two different changes? > > > > > > > > Signed-off-by: Daehwan Jung > > > > What commit id does this fix? > > > > thanks, > > > > greg k-h > > > > Hi greg, > > Below is commit id to fix. > > commit c58d8bfc77a2c7f6ff6339b58c9fca7ae6f57e70 > Author: Thinh Nguyen > Date: Wed Dec 18 18:14:44 2019 -0800 Then please properly put that as a "Fixes:" tag in the signed-off-by area when you resubmit this. thanks, greg k-h