usb: dwc3: fix giveback of queued request in ep_dequeue
authorPratyush Anand <pratyush.anand@st.com>
Fri, 15 Jun 2012 06:24:00 +0000 (11:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 15 Jun 2012 11:42:49 +0000 (14:42 +0300)
commite8d4e8be860d935099ffcf695dcd29b55ae50b36
tree4f20b9dd6a93aaebdd30c6d60f8bbbeda0bebbeb
parent2347fc440558993013e8132791c409239da4fc0d
usb: dwc3: fix giveback of queued request in ep_dequeue

In case of ep_dequeue , if dequeued request was submitted for dma
transfer, then endpoint is stopped. Once endpoint is stooped, callback
for the dequeued request must be called.

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