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

Commit 67a06d8e 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: Resume HOST on pm_resume in host bus suspend"

parents 7e02cedd e82a9c15
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3019,6 +3019,7 @@ static int dwc3_msm_pm_resume(struct device *dev)
{
	int ret = 0;
	struct dwc3_msm *mdwc = dev_get_drvdata(dev);
	struct dwc3 *dwc = platform_get_drvdata(mdwc->dwc3);

	dev_dbg(dev, "dwc3-msm PM resume\n");

@@ -3040,6 +3041,9 @@ static int dwc3_msm_pm_resume(struct device *dev)
				mdwc->ext_xceiv.notify_ext_events(
							mdwc->otg_xceiv->otg,
							DWC3_EVENT_XCEIV_STATE);

		} else if (mdwc->scope == POWER_SUPPLY_SCOPE_SYSTEM) {
			pm_runtime_resume(&dwc->xhci->dev);
		}
	}