]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: clear DWC3_PENDING_REQUEST when request is queued
authorFelipe Balbi <balbi@ti.com>
Tue, 15 Sep 2015 14:49:14 +0000 (09:49 -0500)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commit89185916d2295f7c4bc3a05adae25380b3e08e58
tree884e36b27df922fe30d3d035754322f2e7dbb70f
parent1d6a39186b37b6f5097f9cdee8fcbfc24d231428
usb: dwc3: gadget: clear DWC3_PENDING_REQUEST when request is queued

Instead of clearing DWC3_PENDING_REQUEST when
we start transfer, let's do it when the request
is actually queued, that way we know for sure
that we're clearing in the right time.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c