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

Commit e7cc3a95 authored by Sujeet Kumar's avatar Sujeet Kumar
Browse files

USB: phy-msm-usb: Enable PHY_RETENTION for VDD_MIN on MSM8916



If PHY_RETENTION is not enable, phy driver does not vote
for vdd_min. As part of host mode enablement, ext_id_irq
check is not added so that PHY_RETENTION can be enabled.
As part of this, target is not entering into VDD_MIN.

To fix this issue, enable PHY_RETENTIOIN if external Id
interrupt notification used for detecting ID.

CRs-Fixed: 647209
Change-Id: I66264bdaa17f907efe93eef192470fe0a66dbe6d
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent 707fd824
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4801,7 +4801,7 @@ static int msm_otg_probe(struct platform_device *pdev)
	if (motg->pdata->phy_type == SNPS_28NM_INTEGRATED_PHY) {
		if (motg->pdata->otg_control == OTG_PMIC_CONTROL &&
			(!(motg->pdata->mode == USB_OTG) ||
			 motg->pdata->pmic_id_irq))
			 motg->pdata->pmic_id_irq || motg->ext_id_irq))
			motg->caps = ALLOW_PHY_POWER_COLLAPSE |
				ALLOW_PHY_RETENTION;