summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pcie-rcar.c
diff options
context:
space:
mode:
authorSean O. Stalley <sean.stalley@intel.com>2015-04-03 00:10:19 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-04-10 01:01:39 +0300
commit55db3208f238ee776f1f747734051723d8a3c13e (patch)
treeee168a99ac30c859d8158de29be3b25e4ab8078f /drivers/pci/host/pcie-rcar.c
parent387d37577fdd05e9472c20885464c2a53b3c945f (diff)
downloadlinux-55db3208f238ee776f1f747734051723d8a3c13e.tar.xz
PCI: Read capability list as dwords, not bytes
Reading both the capability ID and "next" pointer at the same time lets us parse the list with half the number of config reads. Signed-off-by: Sean O. Stalley <sean.stalley@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host/pcie-rcar.c')
0 files changed, 0 insertions, 0 deletions