Commit 58c379ee authored by Serge Semin's avatar Serge Semin Committed by Bjorn Helgaas

PCI: tegra194: Drop manual DW PCIe controller version setup

Since the DW PCIe common code (dw_pcie_version_detect()) now reads the IP
core version directly from the hardware, there is no point manually setting
the version for controllers newer than v4.70a.

Tegra194 only supports v4.90a, so remove the now-superfluous code that sets
struct dw_pcie.version.
Suggested-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220624143947.8991-8-Sergey.Semin@baikalelectronics.ruSigned-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 50deb8ac
...@@ -1979,7 +1979,6 @@ static int tegra194_pcie_probe(struct platform_device *pdev) ...@@ -1979,7 +1979,6 @@ static int tegra194_pcie_probe(struct platform_device *pdev)
pci->ops = &tegra_dw_pcie_ops; pci->ops = &tegra_dw_pcie_ops;
pci->n_fts[0] = N_FTS_VAL; pci->n_fts[0] = N_FTS_VAL;
pci->n_fts[1] = FTS_VAL; pci->n_fts[1] = FTS_VAL;
pci->version = DW_PCIE_VER_490A;
pp = &pci->pp; pp = &pci->pp;
pp->num_vectors = MAX_MSI_IRQS; pp->num_vectors = MAX_MSI_IRQS;
......
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