diff options
author | Saheed O. Bolarinwa <[email protected]> | 2020-10-15 14:30:32 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-10-16 11:20:59 -0500 |
commit | 67bcc9ad6810c43195959f2fd7a202959860e5c8 (patch) | |
tree | 67afcc264a007e1fdfb47d8463936b22603efd2d /lib/mpi/mpi-cmp.c | |
parent | c6e5f02b5281a3166a9b7b4d66830cc234421ba5 (diff) |
PCI/ASPM: Remove struct aspm_register_info.enabled
Previously we stored the "ASPM Control" bits from the Link Control register
in the struct aspm_register_info.
Read PCI_EXP_LNKCTL directly when needed. This means we can use the
PCI_EXP_LNKCTL_ASPM_* bits directly instead of the similar but different
PCIE_LINK_STATE_* bits. No functional change intended.
[bhelgaas: drop get_aspm_enable() and read LNKCTL once directly]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Saheed O. Bolarinwa <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions