]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
authorVignesh R <vigneshr@ti.com>
Tue, 25 Sep 2018 08:30:24 +0000 (14:00 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 25 Sep 2018 09:53:10 +0000 (10:53 +0100)
commitb0f4d33f6a802ad65d96d9321ea9a609f446c3b0
tree33a45bd5014b7d700543d1797b1d420057fd3466
parent965c3b3da4c45ef183cfb29d67622eb2da926a52
PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

Errata i870 is applicable in both EP and RC mode. Therefore rename
function dra7xx_pcie_ep_unaligned_memaccess(), that implements errata
workaround, to dra7xx_pcie_unaligned_memaccess() and call it for both RC
and EP. Make sure driver probe does not fail in case the workaround is not
applied for RC mode in order to maintain DT backward compatibility.

Reported-by: Chris Welch <Chris.Welch@viavisolutions.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
[lorenzo.pieralisi@arm.com: reworded the log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/controller/dwc/pci-dra7xx.c