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

Commit 348e8ff3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: msm_otg: Remove sleep waiting loop from the ci13xxx_wakeup function"

parents 965aac38 02630fec
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1643,9 +1643,6 @@ static int ci13xxx_wakeup(struct usb_gadget *_gadget)
	if (udc->transceiver)
		usb_phy_set_suspend(udc->transceiver, 0);

	while (udc->udc_driver->in_lpm(udc))
		usleep(1);

	spin_lock_irqsave(udc->lock, flags);
	if (!skip_fpr) {
		if (!hw_cread(CAP_PORTSC, PORTSC_SUSP)) {