diff options
author | Bjorn Helgaas <[email protected]> | 2020-05-21 13:05:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-22 09:38:13 +0200 |
commit | 3d1e7aa80d1c0e7ce8313f21c1e9c14a12d3ba48 (patch) | |
tree | 41036f3d6a12f55a2b15ac150fbb4df0f5f5ae17 /drivers/fpga/fpga-bridge.c | |
parent | 9ae577047e5bae5f2adf41eb3f02a1e3d75134e1 (diff) |
misc: rtsx: Use pcie_capability_clear_and_set_word() for PCI_EXP_LNKCTL
Instead of using the driver-specific rtsx_pci_update_cfg_byte() to update
the PCIe Link Control Register, use pcie_capability_clear_and_set_word()
like the rest of the kernel does. This makes it easier to maintain ASPM
across the PCI core and drivers.
Remove the now-unused rtsx_pci_update_cfg_byte() and ASPM_MASK_NEG
definitions.
No functional change intended.
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions