]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
PCI/ASPM: Add pcie_aspm_get_link()
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Mar 2020 01:48:33 +0000 (09:48 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 22:24:35 +0000 (17:24 -0500)
commit0a5cfbe05b7e9cd5c612023e9fd2602662203edd
tree5348e72d79d0620b96f8f850f3daee5e4bafecb1
parent5eea6069928f5b8f687104f12ae655402187b522
PCI/ASPM: Add pcie_aspm_get_link()

BugLink: https://bugs.launchpad.net/bugs/1836030
Factor out getting the link associated with a pci_dev and use this helper
where appropriate.  In addition this helper will be used in a subsequent
patch of this series.

Link: https://lore.kernel.org/r/19d33770-29de-a9af-4d85-f2b30269d383@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
(cherry picked from commit 687aaf386aeb551130f31705ce40d1341047a936)
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/pci/pcie/aspm.c