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

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

Merge "usb: phy: msm: Fix unclocked access during host bus resume"

parents 2f7424ee ddf94e1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5043,7 +5043,8 @@ static int msm_otg_pm_resume(struct device *dev)
	dev_dbg(dev, "OTG PM resume\n");

	atomic_set(&motg->pm_suspended, 0);
	if (motg->async_int || motg->sm_work_pending) {
	if (motg->async_int || motg->sm_work_pending ||
			!pm_runtime_suspended(dev)) {
		pm_runtime_get_noresume(dev);
		ret = msm_otg_resume(motg);