aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-12-03 19:05:17 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-12-03 19:05:17 -0500
commitb07b864ee4232b03125992a8f6a490b040adcb6a (patch)
tree90ab83706438b562219aa9dccba6fb2ff4828798
parentc74eadf881ad634c68880e2c1b504989d95993ee (diff)
Revert "PCI/ASPM: Do not initialize link state when aspm_disabled is set"
This reverts commit 17c91487364fb33797ed84022564ee7544ac4945. Rafael found that this commit broke the SD card reader in his Acer Aspire S5. Details of the problem are in the bugzilla below. Fixes: 17c91487364f ("PCI/ASPM: Do not initialize link state when aspm_disabled is set") Link: https://bugzilla.kernel.org/show_bug.cgi?id=201801 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/pcie/aspm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
index dcb29cb76dc6..f78860ce884b 100644
--- a/drivers/pci/pcie/aspm.c
+++ b/drivers/pci/pcie/aspm.c
@@ -895,7 +895,7 @@ void pcie_aspm_init_link_state(struct pci_dev *pdev)
895 struct pcie_link_state *link; 895 struct pcie_link_state *link;
896 int blacklist = !!pcie_aspm_sanity_check(pdev); 896 int blacklist = !!pcie_aspm_sanity_check(pdev);
897 897
898 if (!aspm_support_enabled || aspm_disabled) 898 if (!aspm_support_enabled)
899 return; 899 return;
900 900
901 if (pdev->link_state) 901 if (pdev->link_state)