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

Commit 78269b32 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-usb: Resume root hub on receiving ASYNC interrupt"

parents a60b6bf9 801048e5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1156,6 +1156,7 @@ static int msm_otg_resume(struct msm_otg *motg)
{
	struct usb_phy *phy = &motg->phy;
	struct usb_bus *bus = phy->otg->host;
	struct usb_hcd *hcd = bus_to_hcd(phy->otg->host);
	struct msm_otg_platform_data *pdata = motg->pdata;
	int cnt = 0;
	unsigned temp;
@@ -1330,6 +1331,9 @@ skip_phy_resume:
	if (motg->async_irq)
		disable_irq(motg->async_irq);

	if (motg->host_bus_suspend)
		usb_hcd_resume_root_hub(hcd);

	dev_info(phy->dev, "USB exited from low power mode\n");

	return 0;