PCI: aardvark: Add FIXME comment for PCIE_CORE_CMD_STATUS_REG access
authorPali Rohár <pali@kernel.org>
Thu, 30 Apr 2020 08:06:19 +0000 (10:06 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 18 May 2020 13:40:38 +0000 (14:40 +0100)
commitb2a56469d550cdcbbaeacba86fdf8bcf6af4d084
tree85ae8286c2a04ff0e6128d35bb15e96e68b60452
parent5169a9851daaa2782a7bd2bb83d5b1bd224b2879
PCI: aardvark: Add FIXME comment for PCIE_CORE_CMD_STATUS_REG access

This register is applicable only when the controller is configured for
Endpoint mode, which is not the case for the current version of this
driver.

Attempting to remove this code though caused some ath10k cards to stop
working, so for some unknown reason it is needed here.

This should be investigated and a comment explaining this should be put
before the code, so we add a FIXME comment for now.

Link: https://lore.kernel.org/r/20200430080625.26070-7-pali@kernel.org
Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
drivers/pci/controller/pci-aardvark.c