]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: Clear started flag for non-IOC
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 27 Nov 2019 21:10:47 +0000 (13:10 -0800)
committerFelipe Balbi <balbi@kernel.org>
Tue, 10 Dec 2019 12:52:41 +0000 (14:52 +0200)
commit1138ae24b42f2ee00c73974675ac992eead5a021
tree41b2da4a83b9873a71f5671c8cbc0f1f3a74eed5
parent8a401dda8c11d8f336cf8590487e2da05fd46ace
usb: dwc3: gadget: Clear started flag for non-IOC

Normally the END_TRANSFER command completion handler will clear the
DWC3_EP_TRANSFER_STARTED flag. However, if the command was sent without
interrupt on completion, then the flag will not be cleared. Make sure to
clear the flag in this case.

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