summaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorHonghui Zhang2018-10-15 10:08:53 +0200
committerLorenzo Pieralisi2018-10-15 16:10:30 +0200
commita7f172ab6a8e755e60311f27512034b0441ef421 (patch)
tree1472573b7578e031eef09381d3223e3b8c0a0f73 /drivers/pci/msi.c
parentPCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic (diff)
downloadkernel-qcow2-linux-a7f172ab6a8e755e60311f27512034b0441ef421.tar.gz
kernel-qcow2-linux-a7f172ab6a8e755e60311f27512034b0441ef421.tar.xz
kernel-qcow2-linux-a7f172ab6a8e755e60311f27512034b0441ef421.zip
PCI: mediatek: Fix class type for MT7622 to PCI_CLASS_BRIDGE_PCI
commit 101c92dc80c8 ("PCI: mediatek: Set up vendor ID and class type for MT7622") erroneously set the class type for MT7622 to PCI_CLASS_BRIDGE_HOST. The PCIe controller of MT7622 integrates a Root Port that has type 1 configuration space header and related bridge windows. The HW default value of this bridge's class type is invalid. Fix its class type and set it to PCI_CLASS_BRIDGE_PCI to match the hardware implementation. Fixes: 101c92dc80c8 ("PCI: mediatek: Set up vendor ID and class type for MT7622") Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com> [lorenzo.pieralisi@arm.com: reworked the commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions