diff options
author | Manikanta Maddireddy <mmaddireddy@nvidia.com> | 2018-01-09 04:19:33 -0500 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-01-11 13:16:09 -0500 |
commit | a9b94b74806b47348727aa3334a0541427e0061b (patch) | |
tree | af2e5656e9bd29174292daa4291a917ee5de74f4 | |
parent | f37e2334bca5c5653ad15cadc7d68c78324b956b (diff) |
PCI: tegra: Remove PCI_REASSIGN_ALL_BUS use on Tegra
Bridge primary, secondary, and subordinate bus numbers power up as zero,
and Tegra firmware doesn't program them.
pci_scan_bridge_extend() automatically programs these bus numbers if they
are zero, so we don't need to set the PCI_REASSIGN_ALL_BUS flag for Tegra.
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/pci/host/pci-tegra.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index ee193767f77b..67328a21d0ee 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c | |||
@@ -2382,7 +2382,6 @@ static int tegra_pcie_probe(struct platform_device *pdev) | |||
2382 | 2382 | ||
2383 | tegra_pcie_enable_ports(pcie); | 2383 | tegra_pcie_enable_ports(pcie); |
2384 | 2384 | ||
2385 | pci_add_flags(PCI_REASSIGN_ALL_BUS); | ||
2386 | host->busnr = pcie->busn.start; | 2385 | host->busnr = pcie->busn.start; |
2387 | host->dev.parent = &pdev->dev; | 2386 | host->dev.parent = &pdev->dev; |
2388 | host->ops = &tegra_pcie_ops; | 2387 | host->ops = &tegra_pcie_ops; |