usb: dwc3: haps: Workaround matching VID PID
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Wed, 6 Feb 2019 18:49:26 +0000 (10:49 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 7 Feb 2019 11:17:19 +0000 (13:17 +0200)
commit9c7ebc99b382a158fd2594adbfc204e526b16e08
treecc7d14ff191351cf2abe7b9294ab8595a4d1f49a
parentbdcc03cef0fd8abc6eaeec6ac47e54ae8f8c625f
usb: dwc3: haps: Workaround matching VID PID

i.MX6QP and i.MX7D platform use a PCIe controller with the same VID and
PID as this USB controller. The system may incorrectly match this driver
to that PCIe controller. To workaround this, specifically use class type
USB with PCI device ID to prevent incorrect driver matching.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-haps.c