diff options
| author | Vidya Sagar <[email protected]> | 2022-07-21 14:20:50 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-07-22 22:14:57 +0000 |
| commit | e05fd6ae77c3e2cc0dba283005d24b6d56d2b1fa (patch) | |
| tree | 546cf1b2b011c6f43f600ba47c512027ba736e4c /drivers/pci/controller/dwc/pcie-tegra194.c | |
| parent | PCI: tegra194: Clean up the exit path for Endpoint mode (diff) | |
| download | kernel-e05fd6ae77c3e2cc0dba283005d24b6d56d2b1fa.tar.gz kernel-e05fd6ae77c3e2cc0dba283005d24b6d56d2b1fa.zip | |
PCI: tegra194: Fix link up retry sequence
Add the missing DLF capability offset while clearing DL_FEATURE_EXCHANGE_EN
bit during link up retry.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 56e15a238d92 ("PCI: tegra: Add Tegra194 PCIe support")
Signed-off-by: Vidya Sagar <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-tegra194.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pcie-tegra194.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c index 39f7ae61fdc6..bac2e1ad0a29 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -967,7 +967,7 @@ retry_link: offset = dw_pcie_find_ext_capability(pci, PCI_EXT_CAP_ID_DLF); val = dw_pcie_readl_dbi(pci, offset + PCI_DLF_CAP); val &= ~PCI_DLF_EXCHANGE_ENABLE; - dw_pcie_writel_dbi(pci, offset, val); + dw_pcie_writel_dbi(pci, offset + PCI_DLF_CAP, val); tegra_pcie_dw_host_init(pp); dw_pcie_setup_rc(pp); |
