mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
Revert "PCI/ASPM: Do not initialize link state when aspm_disabled is set"
This reverts commit17c9148736. 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:17c9148736("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>
This commit is contained in:
parent
c74eadf881
commit
b07b864ee4
|
|
@ -895,7 +895,7 @@ void pcie_aspm_init_link_state(struct pci_dev *pdev)
|
|||
struct pcie_link_state *link;
|
||||
int blacklist = !!pcie_aspm_sanity_check(pdev);
|
||||
|
||||
if (!aspm_support_enabled || aspm_disabled)
|
||||
if (!aspm_support_enabled)
|
||||
return;
|
||||
|
||||
if (pdev->link_state)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user