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

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

Merge "dwc3-msm: Don't fail USB LPM sequence if IN_L2 error is seen"

parents c3fc1842 e60df8c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1250,10 +1250,8 @@ static int dwc3_msm_prepare_suspend(struct dwc3_msm *mdwc)
		if (reg & PWR_EVNT_LPM_IN_L2_MASK)
			break;
	}
	if (!(reg & PWR_EVNT_LPM_IN_L2_MASK)) {
	if (!(reg & PWR_EVNT_LPM_IN_L2_MASK))
		dev_err(mdwc->dev, "could not transition HS PHY to L2\n");
		return -EBUSY;
	}

	/* Clear L2 event bit */
	dwc3_msm_write_reg(mdwc->base, PWR_EVNT_IRQ_STAT_REG,