]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: giveback all queued request when ep disabled or reset received
authorPratyush Anand <pratyush.anand@st.com>
Fri, 15 Jun 2012 06:24:36 +0000 (11:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 15 Jun 2012 11:43:44 +0000 (14:43 +0300)
commitf1bd143d29fd1747b78ee6b9949022b85e50988f
treeda7f53396443065797f8be878ba4186a74b3fbf3
parent6eb1fc7772a3c6bf120ec9886bb24e04a9c02f3b
usb: dwc3: giveback all queued request when ep disabled or reset received

In case of ep_disable and reset interrupt is received and, still there
was at least one request queued for dma transfer, then endpoint is
stopped first. Once endpoint is stopped, callback for all queued
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