Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 058b8617 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: gadget: update the return value of pullup function"

parents baa8778a 82b38625
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2160,7 +2160,7 @@ static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)
	spin_unlock_irqrestore(&dwc->lock, flags);
	if (!is_on && ret == -ETIMEDOUT) {
		dev_err(dwc->dev, "%s: Core soft reset...\n", __func__);
		dwc3_device_core_soft_reset(dwc);
		ret = dwc3_device_core_soft_reset(dwc);
	}
	enable_irq(dwc->irq);