From: Felipe Balbi <felipe.balbi@linux.intel.com>
To: Thinh Nguyen <thinh.nguyen@synopsys.com>,
Linux USB <linux-usb@vger.kernel.org>
Subject: [1/4] usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete
Date: Fri, 01 Feb 2019 08:32:23 +0200 [thread overview]
Message-ID: <877eekf288.fsf@linux.intel.com> (raw)
Thinh Nguyen <thinh.nguyen@synopsys.com> writes:
> Hi Felipe,
>
> Felipe Balbi wrote:
>> We must wait until End Transfer completes in order to clear
>> DWC3_EP_TRANSFER_STARTED, otherwise we may confuse the driver.
>>
>> This patch is in preparation to fix a rare race condition that happens
>> upon Disconnect Interrupt.
>>
>> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
>> ---
>> drivers/usb/dwc3/gadget.c | 19 +++++--------------
>> 1 file changed, 5 insertions(+), 14 deletions(-)
>>
>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>> index bed2ff42780b..a3903b8dc11e 100644
>> --- a/drivers/usb/dwc3/gadget.c
>> break;
>
> This patch series has been running fine on my testing setup.
>
> Tested-by: Thinh Nguyen <thinhn@synopsys.com>
Thank you, I've merged this into my testing/next with your Tested-by.
next reply other threads:[~2019-02-01 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-01 6:32 Felipe Balbi [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-13 7:11 [1/4] usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete Felipe Balbi
2019-02-13 2:32 Thinh Nguyen
2019-02-01 2:30 Thinh Nguyen
2019-01-24 7:24 Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877eekf288.fsf@linux.intel.com \
--to=felipe.balbi@linux.intel.com \
--cc=linux-usb@vger.kernel.org \
--cc=thinh.nguyen@synopsys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).