Merge "mhi: cntrl: qcom: notify DRV suspend if device wake is set"

This commit is contained in:
qctecmdr 2020-03-28 12:42:23 -07:00 • committed by Gerrit - the friendly Code Review server
commit a6e75c3ac2

View file

@ -601,7 +601,8 @@ static int mhi_arch_drv_suspend(struct mhi_controller *mhi_cntrl)
/* do a drv hand off */
ret = msm_pcie_pm_control(MSM_PCIE_DRV_SUSPEND, mhi_cntrl->bus,
pci_dev, NULL, 0);
pci_dev, NULL, mhi_cntrl->wake_set ?
MSM_PCIE_CONFIG_NO_L1SS_TO : 0);
/*
* we failed to suspend and scaled down pcie bw.. need to scale up again