Skip to content

Commit e05fd6a

Browse files
Vidya Sagarbjorn-helgaas
authored andcommitted
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: 56e15a2 ("PCI: tegra: Add Tegra194 PCIe support") Signed-off-by: Vidya Sagar <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent bb617cb commit e05fd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/dwc/pcie-tegra194.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ static int tegra_pcie_dw_start_link(struct dw_pcie *pci)
967967
offset = dw_pcie_find_ext_capability(pci, PCI_EXT_CAP_ID_DLF);
968968
val = dw_pcie_readl_dbi(pci, offset + PCI_DLF_CAP);
969969
val &= ~PCI_DLF_EXCHANGE_ENABLE;
970-
dw_pcie_writel_dbi(pci, offset, val);
970+
dw_pcie_writel_dbi(pci, offset + PCI_DLF_CAP, val);
971971

972972
tegra_pcie_dw_host_init(pp);
973973
dw_pcie_setup_rc(pp);

0 commit comments

Comments
 (0)