diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-10 16:27:18 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-10 16:27:18 +0300 |
commit | 5468d5a64bf1e002e5081fa280186d0eba09fa0e (patch) | |
tree | a9c1500d4b0cfb9db1f822dc1357c184b0f2f188 /drivers/pci/pcie | |
parent | 4dd1f57956ada782fd80b1c11c30a9595d6caafc (diff) | |
parent | 55db3208f238ee776f1f747734051723d8a3c13e (diff) | |
download | linux-5468d5a64bf1e002e5081fa280186d0eba09fa0e.tar.xz |
Merge branch 'pci/misc' into next
* pci/misc:
PCI: Read capability list as dwords, not bytes
PCI: Don't clear ASPM bits when the FADT declares it's unsupported
PCI: Clarify policy for vendor IDs in pci.txt
PCI/ACPI: Optimize device state transition delays
PCI: Export pci_find_host_bridge() for use inside PCI core
PCI: Make a shareable UUID for PCI firmware ACPI _DSM
PCI: Fix typo in Thunderbolt kernel message
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r-- | drivers/pci/pcie/aspm.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index 820740a22e94..7d4fcdc512aa 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -782,24 +782,6 @@ void pci_disable_link_state(struct pci_dev *pdev, int state) } EXPORT_SYMBOL(pci_disable_link_state); -void pcie_clear_aspm(struct pci_bus *bus) -{ - struct pci_dev *child; - - if (aspm_force) - return; - - /* - * Clear any ASPM setup that the firmware has carried out on this bus - */ - list_for_each_entry(child, &bus->devices, bus_list) { - __pci_disable_link_state(child, PCIE_LINK_STATE_L0S | - PCIE_LINK_STATE_L1 | - PCIE_LINK_STATE_CLKPM, - false, true); - } -} - static int pcie_aspm_set_policy(const char *val, struct kernel_param *kp) { int i; |