Skip to content

Commit 94b9d29

Browse files
author
Lorenzo Pieralisi
committed
PCI: xgene: Remove leftover pci_scan_child_bus() call
The changes in commit 9af275b ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()") converted the xgene PCI host driver to the new pci_scan_root_bus_bridge() bus scanning API but erroneously left the existing pci_scan_child_bus() call in place which resulted in duplicate PCI bus enumerations. Remove the leftover pci_scan_child_bus() call to properly complete the API conversion. Fixes: 9af275b ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()") Tested-by: Khuong Dinh <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Cc: <[email protected]> # 4.13+ Cc: Bjorn Helgaas <[email protected]> Cc: Tanmay Inamdar <[email protected]>
1 parent 1291a0d commit 94b9d29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pci/host/pci-xgene.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,6 @@ static int xgene_pcie_probe(struct platform_device *pdev)
668668

669669
bus = bridge->bus;
670670

671-
pci_scan_child_bus(bus);
672671
pci_assign_unassigned_bus_resources(bus);
673672
list_for_each_entry(child, &bus->children, node)
674673
pcie_bus_configure_settings(child);

0 commit comments

Comments
 (0)