PCI: pciehp: Add HXT quirk for Command Completed errata
authorShunyong Yang <shunyong.yang@hxt-semitech.com>
Wed, 7 Nov 2018 07:25:05 +0000 (15:25 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 1 Feb 2019 23:15:58 +0000 (17:15 -0600)
The HXT SD4800 PCI controller does not set the Command Completed bit unless
writes to the Slot Command register change "Control" bits.

Add SD4800 to the quirk.

Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Joey Zheng <yu.zheng@hxt-semitech.com>
drivers/pci/hotplug/pciehp_hpc.c

index 7dd443a..91db679 100644 (file)
@@ -920,3 +920,5 @@ DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_QCOM, 0x0400,
                              PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl);
 DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_QCOM, 0x0401,
                              PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl);
+DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_HXT, 0x0401,
+                             PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl);