diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 17:43:26 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 17:43:26 +0200 |
commit | a5166a194ee46b8daa440b43f24595c9a1312743 (patch) | |
tree | e8fa16568ac4ff603f9348b52fdb939dbe15a8f4 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | Merge branch 'remotes/lorenzo/pci/cadence' (diff) | |
parent | PCI: dwc: Move iATU detection earlier (diff) | |
download | linux-a5166a194ee46b8daa440b43f24595c9a1312743.tar.xz linux-a5166a194ee46b8daa440b43f24595c9a1312743.zip |
Merge branch 'remotes/lorenzo/pci/dwc'
- Use generic config accessors for TI AM65x (K3) to fix regression (Kishon
Vijay Abraham I)
- Move MSI Receiver init to dw_pcie_host_init() so it is re-initialized
along with the RC in resume (Jisheng Zhang)
- Remove unused pcie_app_rd() (Jiapeng Chong)
- Move iATU detection earlier to fix regression (Hou Zhiqiang)
* remotes/lorenzo/pci/dwc:
PCI: dwc: Move iATU detection earlier
PCI: dwc/intel-gw: Remove unused function
PCI: dwc: Move dw_pcie_msi_init() to dw_pcie_setup_rc()
PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
-rw-r--r-- | drivers/pci/controller/dwc/pci-keystone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 6745e69b7020..bde3b2824e89 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -803,7 +803,8 @@ static int __init ks_pcie_host_init(struct pcie_port *pp) int ret; pp->bridge->ops = &ks_pcie_ops; - pp->bridge->child_ops = &ks_child_pcie_ops; + if (!ks_pcie->is_am6) + pp->bridge->child_ops = &ks_child_pcie_ops; ret = ks_pcie_config_legacy_irq(ks_pcie); if (ret) |