Add some checks to avoid going through the start/stop sequence if the gadget had already started/stopped. This series base-commit is Greg's usb-linus branch.
Thinh Nguyen (2): usb: dwc3: gadget: Check if the gadget had started usb: dwc3: gadget: Check if the gadget had stopped
drivers/usb/dwc3/gadget.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-)
base-commit: 96ebc9c871d8a28fb22aa758dd9188a4732df482