Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
This reverts commit 3ccf60e1 ("usb: dwc3: gadget: skip Set/Clear Halt when invalid") as some of host side applications send CLEAR HALT request on opening of it without sending SET HALT which results into host and device side USB goes out of sync for SeqN (in SS) or Data Toggle (in HS). This result into host side application is not working. Fix this issue by honoring CLEAR HALT request although previously SET HALT request is not sent until host side applications are fixed. Change-Id: I896d6e264e84af06dba32ab336fe2269f417b785 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment