diff options
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | 2015-09-29 12:08:24 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-10-01 12:40:25 -0500 |
commit | c524dd5f432a0690710b62e729a3673c557d8b58 (patch) | |
tree | ed32a983172279da17ce661f873028bd8b58c216 /drivers/usb/dwc2/hcd.c | |
parent | e525e74339b1e94ade1c14640d5282dbcdb32526 (diff) |
usb: dwc2: gadget: stop current transfer on dequeue
If the request being dequeued is already started, disable endpoint
to stop the transfer and then call dwc2_hsotg_complete_request().
Endpoint will be re-enabled on next call to dwc2_hsotg_start_req().
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/hcd.c')
0 files changed, 0 insertions, 0 deletions