mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "cnss2: change for fixed link speed"
This commit is contained in:
commit
c112c25edc
1 changed files with 3 additions and 1 deletions
|
|
@ -739,7 +739,9 @@ static int cnss_set_pci_link(struct cnss_pci_data *pci_priv, bool link_up)
|
|||
cnss_pr_vdbg("Use PCIe DRV suspend\n");
|
||||
pm_ops = MSM_PCIE_DRV_SUSPEND;
|
||||
pm_options |= MSM_PCIE_CONFIG_NO_DRV_PC;
|
||||
cnss_set_pci_link_status(pci_priv, PCI_GEN1);
|
||||
if (pci_priv->device_id != QCA6390_DEVICE_ID &&
|
||||
pci_priv->device_id != QCA6490_DEVICE_ID)
|
||||
cnss_set_pci_link_status(pci_priv, PCI_GEN1);
|
||||
} else {
|
||||
pm_ops = MSM_PCIE_SUSPEND;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue