Hi, Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> writes: > @@ -1627,13 +1633,37 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) > else > dep->flags |= DWC3_EP_STALL; > } else { > + /* > + * Don't issue CLEAR_STALL command to control endpoints. The > + * controller automatically clears the STALL when it receives > + * the SETUP token. > + */ we have a separate dwc3_gadget_ep0_set_halt() to handle that. How was this triggered? -- balbi
Attachment:
signature.asc
Description: PGP signature