Skip to content

Commit 21b5b5e

Browse files
Lorenzo Pieralisigregkh
authored andcommitted
PCI: xgene: Remove leftover pci_scan_child_bus() call
commit 94b9d29 upstream. 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]> Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 011626d commit 21b5b5e

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
@@ -686,7 +686,6 @@ static int xgene_pcie_probe_bridge(struct platform_device *pdev)
686686

687687
bus = bridge->bus;
688688

689-
pci_scan_child_bus(bus);
690689
pci_assign_unassigned_bus_resources(bus);
691690
list_for_each_entry(child, &bus->children, node)
692691
pcie_bus_configure_settings(child);

0 commit comments

Comments
 (0)