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

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

Merge "USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR"

parents 612d726b bc9f4024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1882,7 +1882,7 @@ static int dwc3_msm_prepare_suspend(struct dwc3_msm *mdwc)

	if ((mdwc->in_host_mode || (mdwc->vbus_active
			&& mdwc->otg_state == OTG_STATE_B_SUSPEND))
			&& dwc3_msm_is_superspeed(mdwc)) {
			&& dwc3_msm_is_superspeed(mdwc) && !mdwc->in_restart) {
		if (!atomic_read(&mdwc->in_p3)) {
			dev_err(mdwc->dev, "Not in P3,aborting LPM sequence\n");
			return -EBUSY;