|
@@ -556,6 +556,9 @@ void pcie_aspm_init_link_state(struct pci_dev *pdev)
|
|
struct pcie_link_state *link;
|
|
struct pcie_link_state *link;
|
|
int blacklist = !!pcie_aspm_sanity_check(pdev);
|
|
int blacklist = !!pcie_aspm_sanity_check(pdev);
|
|
|
|
|
|
|
|
+ if (!aspm_support_enabled)
|
|
|
|
+ return;
|
|
|
|
+
|
|
if (!pci_is_pcie(pdev) || pdev->link_state)
|
|
if (!pci_is_pcie(pdev) || pdev->link_state)
|
|
return;
|
|
return;
|
|
if (pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT &&
|
|
if (pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT &&
|