diff mbox series

[V3] usb:xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI

Message ID 20190108204321.18554-1-m.balaji@intel.com (mailing list archive)
State Mainlined
Commit 8fde481ef3674ae5ad0dbfef4df18ff507c5675a
Headers show
Series [V3] usb:xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI | expand

Commit Message

Balaji, M Jan. 8, 2019, 8:43 p.m. UTC
From: Balaji Manoharan <m.balaji@intel.com>

This fix enables USB role feature on intel commercial nuc
platform which is based on Kabylake chipset.

Signed-off-by: Balaji Manoharan <m.balaji@intel.com>
---
 Changes from v2: changed initals to full name
 Changes from v1: changed patch subject from roles: to usb:xhci
 drivers/usb/host/xhci-pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mathias Nyman Jan. 17, 2019, 11:55 a.m. UTC | #1
On 08.01.2019 22:43, m.balaji@intel.com wrote:
> From: Balaji Manoharan <m.balaji@intel.com>
> 
> This fix enables USB role feature on intel commercial nuc
> platform which is based on Kabylake chipset.
> 
> Signed-off-by: Balaji Manoharan <m.balaji@intel.com>
> ---

Thanks, Adding to queue

-Mathias
diff mbox series

Patch

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index a9ec7051f286..c2fe218e051f 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -194,6 +194,7 @@  static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 		xhci->quirks |= XHCI_SSIC_PORT_UNUSED;
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
 	    (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI ||
+	     pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI ||
 	     pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI))
 		xhci->quirks |= XHCI_INTEL_USB_ROLE_SW;
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&