usb: dwc3: gadget: Properly handle ClearFeature(halt)
[ Upstream commit cb11ea56f37a36288cdd0a4799a983ee3aa437dd ] 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. Change-Id: Iccf1e148c74bbe194702e3e7a620f0fef5a9b183 Fixes: 72246da4 ("usb: Introduce DesignWare USB3 DRD Driver") Signed-off-by:Thinh Nguyen <thinhn@synopsys.com> Signed-off-by:
Felipe Balbi <balbi@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Git-commit: 1bfa0914 Git-repo: https://android.googlesource.com/kernel/common/ Signed-off-by:
Srinivasarao P <spathi@codeaurora.org>
Loading
Please register or sign in to comment