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/20220721142052.25971-15-vidyas@nvidia.com Fixes: 56e15a2 ("PCI: tegra: Add Tegra194 PCIe support") Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent bb617cb commit e05fd6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)