aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-09-19 12:56:45 +0000
committerBjorn Helgaas <[email protected]>2023-10-10 20:00:52 +0000
commit408599ec561ad5862cda4f107626009f6fa97a74 (patch)
tree2af70aa98bb362e24a37516e881dfd45fd642294 /drivers/pci/controller/dwc
parentPCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields (diff)
downloadkernel-408599ec561ad5862cda4f107626009f6fa97a74.tar.gz
kernel-408599ec561ad5862cda4f107626009f6fa97a74.zip
PCI: mvebu: Use FIELD_PREP() with Link Width
mvebu_pcie_setup_hw() setups the Maximum Link Width field in the Link Capabilities registers using an open-coded variant of FIELD_PREP() with a literal in shift. Improve readability by using FIELD_PREP(PCI_EXP_LNKCAP_MLW, ...). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions