OSDN Git Service

PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 27 Dec 2019 01:27:17 +0000 (17:27 -0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 26 Feb 2020 10:59:29 +0000 (10:59 +0000)
commit604f3956524a6a53c1e3dd27b4b685b664d181ec
tree0e914bcb89d6b7740d7b72b6243a0a14a5464f21
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM

There exists non-bridge PCIe devices with PCI_VENDOR_ID_QCOM, so limit
the fixup to only affect the relevant PCIe bridges.

Fixes: 322f03436692 ("PCI: qcom: Use default config space read function")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: stable@vger.kernel.org # v5.2+
drivers/pci/controller/dwc/pcie-qcom.c