]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Use DBI accessors instead of own config accessors
authorRob Herring <robh@kernel.org>
Fri, 21 Aug 2020 03:53:42 +0000 (21:53 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 7 Sep 2020 09:30:38 +0000 (10:30 +0100)
commit98ac99c63b9b12beaca7de499ded56e4caaf7554
tree52e010e71aa8a72ead59a0d381f8e78dc6ff10fa
parent4fdb9de5cb7308715004e6e1c6a1a8ab448fcf23
PCI: dwc: Use DBI accessors instead of own config accessors

The Designware DBI space contains the root bus bridge config space.
Platforms needing custom {rd,wr}_own_conf functions are also the ones
needing custom {read,write}_dbi ops functions and the access sequences
are the same.

Replace all dw_pcie_{rd,wr}_own_conf() calls with the DBI variants in
preparation to remove dw_pcie_{rd,wr}_own_conf().

Link: https://lore.kernel.org/r/20200821035420.380495-3-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-designware-host.c