summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-07-22 00:23:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 14:21:51 +0300
commitff36dc6e9654ae511039300b102e8f3d30814859 (patch)
tree3f7e9da9b01e1e89a57029e5d27f8a657c0ced82 /include
parent342c8a1d1d9e418d32fa02d635cf96989f9a986e (diff)
downloadlinux-ff36dc6e9654ae511039300b102e8f3d30814859.tar.xz
misc: rtsx: Use pcie_capability_clear_and_set_word() for PCI_EXP_LNKCTL
Instead of using the driver-specific rtsx_pci_write_config_byte() to update the PCIe Link Control Register, use pcie_capability_write_word() like the rest of the kernel does. This makes it easier to maintain ASPM across the PCI core and drivers. No functional change intended. I missed this when doing 3d1e7aa80d1c ("misc: rtsx: Use pcie_capability_clear_and_set_word() for PCI_EXP_LNKCTL"). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200721212336.1159079-2-helgaas@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions