]> git.baikalelectronics.ru Git - kernel.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)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 22 Mar 2021 14:47:21 +0000 (14:47 +0000)
commit235736d867642ba64b1ffffa293f52ae853d863f
tree5fb7be294e8cf3077bd259ac61bcc731748cf366
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

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 20014cb3bf88
("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: 20014cb3bf88 ("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
drivers/pci/controller/dwc/pci-keystone.c