mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
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: 56e15a238d
("PCI: tegra: Add Tegra194 PCIe support")
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
bb617cbd81
commit
e05fd6ae77
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user