usb: dwc3: ep0: Clear started flag on completion
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 27 Nov 2019 21:10:54 +0000 (13:10 -0800)
committerFelipe Balbi <balbi@kernel.org>
Tue, 10 Dec 2019 12:52:41 +0000 (14:52 +0200)
commit2d7b78f59e020b07fc6338eefe286f54ee2d6773
tree8239efe8a6a7fe4b711997ed27b1493408bc7771
parentd3abda5a98a18e524e17fd4085c9f4bd53e9ef53
usb: dwc3: ep0: Clear started flag on completion

Clear ep0's DWC3_EP_TRANSFER_STARTED flag if the END_TRANSFER command is
completed. Otherwise, we can't start control transfer again after
END_TRANSFER.

Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/ep0.c