diff --git a/drivers/pci/controller/pci-msm.c b/drivers/pci/controller/pci-msm.c index 827db7667fee..15dfc0f9de6b 100644 --- a/drivers/pci/controller/pci-msm.c +++ b/drivers/pci/controller/pci-msm.c @@ -6775,6 +6775,8 @@ static int msm_pcie_drv_suspend(struct msm_pcie_dev_t *pcie_dev, /* disable global irq - no more linkdown/aer detection */ disable_irq(pcie_dev->irq[MSM_PCIE_INT_GLOBAL_INT].num); + drv_info->drv_enable.pkt.dword[2] = options & MSM_PCIE_CONFIG_NO_DRV_PC; + ret = msm_pcie_drv_send_rpmsg(pcie_dev, &drv_info->drv_enable); if (ret) { ret = -EBUSY; diff --git a/include/linux/msm_pcie.h b/include/linux/msm_pcie.h index e92000fba656..a90725e93b0f 100644 --- a/include/linux/msm_pcie.h +++ b/include/linux/msm_pcie.h @@ -13,6 +13,7 @@ enum msm_pcie_config { MSM_PCIE_CONFIG_LINKDOWN = 0x2, MSM_PCIE_CONFIG_NO_RECOVERY = 0x4, MSM_PCIE_CONFIG_NO_L1SS_TO = 0x8, + MSM_PCIE_CONFIG_NO_DRV_PC = 0x10, }; enum msm_pcie_pm_opt {