Commit a9b94b74 authored by Manikanta Maddireddy's avatar Manikanta Maddireddy Committed by Bjorn Helgaas

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: default avatarManikanta Maddireddy <mmaddireddy@nvidia.com>
[bhelgaas: changelog]
Signed-off-by: default avatarBjorn Helgaas <helgaas@kernel.org>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
parent f37e2334
...@@ -2382,7 +2382,6 @@ static int tegra_pcie_probe(struct platform_device *pdev) ...@@ -2382,7 +2382,6 @@ static int tegra_pcie_probe(struct platform_device *pdev)
tegra_pcie_enable_ports(pcie); tegra_pcie_enable_ports(pcie);
pci_add_flags(PCI_REASSIGN_ALL_BUS);
host->busnr = pcie->busn.start; host->busnr = pcie->busn.start;
host->dev.parent = &pdev->dev; host->dev.parent = &pdev->dev;
host->ops = &tegra_pcie_ops; host->ops = &tegra_pcie_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment