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

Commit c112c25e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: change for fixed link speed"

parents b3e8514a baa52351
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -739,6 +739,8 @@ static int cnss_set_pci_link(struct cnss_pci_data *pci_priv, bool link_up)
			cnss_pr_vdbg("Use PCIe DRV suspend\n");
			cnss_pr_vdbg("Use PCIe DRV suspend\n");
			pm_ops = MSM_PCIE_DRV_SUSPEND;
			pm_ops = MSM_PCIE_DRV_SUSPEND;
			pm_options |= MSM_PCIE_CONFIG_NO_DRV_PC;
			pm_options |= MSM_PCIE_CONFIG_NO_DRV_PC;
			if (pci_priv->device_id != QCA6390_DEVICE_ID &&
			    pci_priv->device_id != QCA6490_DEVICE_ID)
				cnss_set_pci_link_status(pci_priv, PCI_GEN1);
				cnss_set_pci_link_status(pci_priv, PCI_GEN1);
		} else {
		} else {
			pm_ops = MSM_PCIE_SUSPEND;
			pm_ops = MSM_PCIE_SUSPEND;