mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
PCI: tegra194: Fix host initialization during resume
Commit275e88b06a
("PCI: tegra: Fix host link initialization") broke host initialization during resume as it misses out calling the API dw_pcie_setup_rc() which is required for host and MSI initialization. Link: https://lore.kernel.org/r/20210504172157.29712-1-vidyas@nvidia.com Fixes:275e88b06a
("PCI: tegra: Fix host link initialization") Tested-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
6efb943b86
commit
c4bf1f25c6
@ -2314,6 +2314,8 @@ static int tegra_pcie_dw_resume_noirq(struct device *dev)
|
||||
goto fail_host_init;
|
||||
}
|
||||
|
||||
dw_pcie_setup_rc(&pcie->pci.pp);
|
||||
|
||||
ret = tegra_pcie_dw_start_link(&pcie->pci);
|
||||
if (ret < 0)
|
||||
goto fail_host_init;
|
||||
|
Loading…
Reference in New Issue
Block a user