mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
mhi: cntrl: qcom: notify DRV suspend if device wake is set
Host can do a DRV handoff when device wake is set preventing the device to go to low power modes. Notify DRV processor of the same so it has device state awareness and acts accordingly in order to prevent host from attempting low power modes. Change-Id: I8e3a95b208cce6fed668fa666ac3d338590f9a96 Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
This commit is contained in:
parent
96cd181257
commit
c83054cce3
1 changed files with 2 additions and 1 deletions
|
|
@ -596,7 +596,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue