OSDN Git Service

PCI: qcom: Use default config space read function
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Mon, 25 Mar 2019 15:42:55 +0000 (16:42 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 May 2019 13:50:36 +0000 (08:50 -0500)
commit322f03436692481993d389f539c016d20bb0fa1d
tree41aa6d9673219e3bef1ec5b7444e35975137f11b
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
PCI: qcom: Use default config space read function

Move the device class fudge to a proper fixup function, and remove
qcom_pcie_rd_own_conf() which has become useless.

dw_pcie_setup_rc() already did the right thing, but it's broken
on older qcom chips, such as 8064.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/controller/dwc/pcie-qcom.c