diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-15 15:55:00 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-15 15:55:00 -0600 |
commit | a8ebab92c28a6603e057ac86654b925bb3939469 (patch) | |
tree | 342083857bac8a4cdee35cc5bfad29e45bcf39e0 | |
parent | 6156d75cd34b2eca73b9a522b9bd04d12065e708 (diff) | |
parent | 70bc1b684b49781c882fec44023b37b7b45fe359 (diff) |
Merge branch 'pci/host-versatile' into next
* pci/host-versatile:
PCI: versatile: Configure PCIe MPS settings
-rw-r--r-- | drivers/pci/host/pci-versatile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c index b7dc07002f13..5ebee7d37ff5 100644 --- a/drivers/pci/host/pci-versatile.c +++ b/drivers/pci/host/pci-versatile.c @@ -124,7 +124,7 @@ static int versatile_pci_probe(struct platform_device *pdev) int ret, i, myslot = -1; u32 val; void __iomem *local_pci_cfg_base; - struct pci_bus *bus; + struct pci_bus *bus, *child; LIST_HEAD(pci_res); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); @@ -204,6 +204,8 @@ static int versatile_pci_probe(struct platform_device *pdev) pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); pci_assign_unassigned_bus_resources(bus); + list_for_each_entry(child, &bus->children, node) + pcie_bus_configure_settings(child); pci_bus_add_devices(bus); return 0; |