]> Git Repo - linux.git/commit - drivers/usb/dwc3/gadget.c
usb: dwc3: giveback all queued request when ep disabled or reset received
authorPratyush Anand <[email protected]>
Fri, 15 Jun 2012 06:24:36 +0000 (11:54 +0530)
committerFelipe Balbi <[email protected]>
Fri, 15 Jun 2012 11:43:44 +0000 (14:43 +0300)
commit1591633ed6c4c3994944f31ddb59bc072a2ed0ca
treeda7f53396443065797f8be878ba4186a74b3fbf3
parentdcae3573b98b2205961bfa5821427f5664422cd8
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
drivers/usb/dwc3/gadget.c
This page took 0.049967 seconds and 4 git commands to generate.