]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Mar 2021 13:15:18 +0000 (18:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:49:24 +0000 (10:49 +0200)
commit0317ff6d41c36df713025e372618bf9b2926fda2
treea17db57f334deae4bff9b4384479edbbd473bcac
parent3a2ba4d3b2dd52af70886499540d091cc5cb8abf
PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

commit 3d0b2a3a87ce5ae85de46c4241afd52ab8b566fe upstream.

Both TI's AM65x (K3) and TI's K2 PCIe driver are implemented in
pci-keystone. However Only K2 PCIe driver should use it's own pci_ops
for configuration space accesses. But commit 10a797c6e54a
("PCI: dwc: keystone: Use pci_ops for config space accessors") used
custom pci_ops for both AM65x and K2. This breaks configuration space
access for AM65x platform. Fix it here.

Link: https://lore.kernel.org/r/20210317131518.11040-1-kishon@ti.com
Fixes: 10a797c6e54a ("PCI: dwc: keystone: Use pci_ops for config space accessors")
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
Cc: <stable@vger.kernel.org> # v5.10
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pci-keystone.c