diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2018-10-01 11:53:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-09 10:13:50 -0400 |
commit | c02588a352defaf985fc1816eb6232663159e1b8 (patch) | |
tree | a1a13950c0bf8c8c27f4db4b38a60f0e62c9c529 | |
parent | 009b1948e153ae448f62f1887e2b58d0e05db51b (diff) |
usb: xhci: pci: Enable Intel USB role mux on Apollo Lake platforms
Intel Apollo Lake has the same internal USB role mux as
Intel Cherry Trail.
Cc: <stable@vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 722860eb5a91..51dd8e00c4f8 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c | |||
@@ -179,10 +179,12 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) | |||
179 | xhci->quirks |= XHCI_PME_STUCK_QUIRK; | 179 | xhci->quirks |= XHCI_PME_STUCK_QUIRK; |
180 | } | 180 | } |
181 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && | 181 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && |
182 | pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) { | 182 | pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) |
183 | xhci->quirks |= XHCI_SSIC_PORT_UNUSED; | 183 | xhci->quirks |= XHCI_SSIC_PORT_UNUSED; |
184 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && | ||
185 | (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || | ||
186 | pdev->device == PCI_DEVICE_ID_INTEL_APL_XHCI)) | ||
184 | xhci->quirks |= XHCI_INTEL_USB_ROLE_SW; | 187 | xhci->quirks |= XHCI_INTEL_USB_ROLE_SW; |
185 | } | ||
186 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && | 188 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && |
187 | (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || | 189 | (pdev->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI || |
188 | pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || | 190 | pdev->device == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI || |