]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: xgene: Remove leftover pci_scan_child_bus() call
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 21 Nov 2017 15:49:31 +0000 (15:49 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:20:55 +0000 (14:20 +0100)
commit2334a1974154f7dc12aec462e3d6c429a9dd3546
tree825dc6883f14d5c5060ebe8abd01294c5bc8c5da
parent2807664a0508381bbdba89be4895cb8e716d7896
PCI: xgene: Remove leftover pci_scan_child_bus() call

BugLink: http://bugs.launchpad.net/bugs/1815234
commit 94b9d290b753cbbc87971ee134511245f5872a83 upstream.

The changes in commit 9af275be15f7 ("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: 9af275be15f7 ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()")
Tested-by: Khuong Dinh <kdinh@apm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: <stable@vger.kernel.org> # 4.13+
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tanmay Inamdar <tinamdar@apm.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/pci/host/pci-xgene.c