summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-keystone.c
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-03-05 13:23:55 -0800
committerFelipe Balbi <balbi@kernel.org>2020-05-05 10:58:52 +0300
commitcb11ea56f37a36288cdd0a4799a983ee3aa437dd (patch)
tree0a0447ef87845f79c5607e39a1f3d28f87582598 /drivers/usb/dwc3/dwc3-keystone.c
parent3428b96f2f0d7a2c18d95478657d4aba5a0a331a (diff)
usb: dwc3: gadget: Properly handle ClearFeature(halt)
DWC3 must not issue CLEAR_STALL command to control endpoints. The controller automatically clears the STALL when it receives the SETUP token. Also, when the driver receives ClearFeature(halt_ep), DWC3 must stop any active transfer from the endpoint and give back all the requests to the function drivers. Fixes: 72246da40f37 ("usb: Introduce DesignWare USB3 DRD Driver") Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-keystone.c')
0 files changed, 0 insertions, 0 deletions