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

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

Merge "usb: dwc3: gadget: Fix runtime PM vote from pull_up handler"

parents 79600075 90f8961b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2078,10 +2078,8 @@ static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)

		ret = wait_for_completion_timeout(&dwc->ep0_in_setup,
				msecs_to_jiffies(DWC3_PULL_UP_TIMEOUT));
		if (ret == 0) {
		if (ret == 0)
			dev_err(dwc->dev, "timed out waiting for SETUP phase\n");
			return -ETIMEDOUT;
		}
	}

	spin_lock_irqsave(&dwc->lock, flags);