OSDN Git Service

PCI: Override Synopsys USB 3.x HAPS device class
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Mon, 10 Dec 2018 22:08:01 +0000 (14:08 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Dec 2018 22:25:16 +0000 (16:25 -0600)
commit03e6742584af8866ba014874669d0440bed3a623
treee40b490c3c5336159bbeb99c36d24cb84f962e5c
parentb6061b1e566d70c7686d194a6c47dc6ffa665c77
PCI: Override Synopsys USB 3.x HAPS device class

Synopsys USB 3.x host HAPS platform has a class code of
PCI_CLASS_SERIAL_USB_XHCI, and xhci driver can claim it.  However, these
devices should use dwc3-haps driver.  Change these devices' class code to
PCI_CLASS_SERIAL_USB_DEVICE to prevent the xhci-pci driver from claiming
them.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c