]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: qcom: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:49:01 +0000 (17:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:15 +0000 (13:53 -0500)
commit10c736f784cb0dad0dce6ce938878a754676bc89
tree68c9cfd3dbe9d5e30cb2342d6c78d69fbd37a450
parent995b76e48fe3cba4820ca42b4e0726cc5715a952
PCI: qcom: Update PCI config space remap function

PCI configuration space should be mapped with a memory region type that
generates on the CPU host bus non-posted write transations. Update the
driver to use the devm_pci_remap_cfg* interface to make sure the correct
memory mappings for PCI configuration space are used.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/dwc/pcie-qcom.c