aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorVidya Sagar <[email protected]>2021-05-04 17:21:57 +0000
committerBjorn Helgaas <[email protected]>2021-06-24 22:45:23 +0000
commitc4bf1f25c6c187864681d5ad4dd1fa92f62d5d32 (patch)
tree8b3fa2052364f7b51fc0ab6c464f786c201aee76 /drivers/pci/controller/dwc
parentLinux 5.13-rc1 (diff)
downloadkernel-c4bf1f25c6c187864681d5ad4dd1fa92f62d5d32.tar.gz
kernel-c4bf1f25c6c187864681d5ad4dd1fa92f62d5d32.zip
PCI: tegra194: Fix host initialization during resume
Commit 275e88b06a27 ("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/[email protected] Fixes: 275e88b06a27 ("PCI: tegra: Fix host link initialization") Tested-by: Jon Hunter <[email protected]> Signed-off-by: Vidya Sagar <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
-rw-r--r--drivers/pci/controller/dwc/pcie-tegra194.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index bafd2c6ab3c2..b19775ab134e 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -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;