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

Commit d6796b52 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: clear in_restart flag always in restart work"

parents ef152b0f 7358302e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1485,10 +1485,10 @@ static void dwc3_restart_usb_work(struct work_struct *w)
		pm_runtime_suspend(mdwc->dev);
	}

	mdwc->in_restart = false;
	/* Force reconnect only if cable is still connected */
	if (mdwc->vbus_active) {
		mdwc->chg_type = chg_type;
		mdwc->in_restart = false;
		dwc3_resume_work(&mdwc->resume_work.work);
	}