This series cleanup and enhance dwc3 pullup() handling to cover different corner cases. Would be great to have some Tested-by before picking this series up. Thanks! Thinh Nguyen (6): usb: dwc3: gadget: Prevent repeat pullup() usb: dwc3: gadget: Refactor pullup() usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup() usb: dwc3: ep0: Don't prepare beyond Setup stage usb: dwc3: gadget: Only End Transfer for ep0 data phase usb: dwc3: gadget: Delay issuing End Transfer drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/dwc3/gadget.c | 126 ++++++++++++++++++++------------------ 2 files changed, 69 insertions(+), 59 deletions(-) base-commit: 5c29e864999763baec9eedb9ea5bd557aa4cbd77 -- 2.28.0