]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:10 +0000 (10:50 +0200)
commitae42464d7e3031ffa6fd22e3d2598ba2a9088141
tree410001ba61b51b8cf046e804881f2013a427840f
parentaeae47d05d9c25dbd1a86f3f5d22efa35f4baa24
PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM

commit 8dd47d76fa7caf5c7a24b1968e857d8290395bc2 upstream.

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

Fixes: 16103491b18d ("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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pcie-qcom.c