Thinh Nguyen da10bcdd6f usb: dwc3: gadget: Delay starting transfer
If the END_TRANSFER command hasn't completed yet, then don't send the
START_TRANSFER command. The controller may not be able to start if
that's the case. Some controller revisions depend on this. See
commit 76a638f8ac0d ("usb: dwc3: gadget: wait for End Transfer to
complete"). Let's only send START_TRANSFER command after the
END_TRANSFER command had completed.

Fixes: 3aec99154db3 ("usb: dwc3: gadget: remove DWC3_EP_END_TRANSFER_PENDING")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-15 10:39:23 +01:00
..
2019-12-14 12:40:39 -08:00
2020-01-13 12:11:40 +01:00
2020-01-15 10:39:21 +01:00
2020-01-13 12:11:40 +01:00
2019-10-14 07:09:59 +02:00
2019-11-04 06:41:09 +01:00
2020-01-08 17:34:17 +01:00
2020-01-13 12:11:40 +01:00
2020-01-13 12:11:40 +01:00
2019-09-03 19:00:39 +02:00
2019-09-02 19:20:57 +02:00