]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: dwc3: pci: add ID for the Intel Comet Lake -H variant
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 12 Dec 2019 09:37:13 +0000 (12:37 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 28 Apr 2020 18:02:56 +0000 (19:02 +0100)
commit 3c3caae4cd6e122472efcf64759ff6392fb6bce2 upstream.

The original ID that was added for Comet Lake PCH was
actually for the -LP (low power) variant even though the
constant for it said CMLH. Changing that while at it.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Felipe Balbi <balbi@kernel.org>
Link: https://lore.kernel.org/r/20191212093713.60614-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.16:
 - No properties support
 - Adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/dwc3/dwc3-pci.c

index ed89429a9944713fb97a60ef0785b49b1aff78ff..1b1ef79f02fa26a4d77a9ee1eb6ec845d7f284f1 100644 (file)
@@ -37,7 +37,8 @@
 #define PCI_DEVICE_ID_INTEL_BXT_M      0x1aaa
 #define PCI_DEVICE_ID_INTEL_APL                0x5aaa
 #define PCI_DEVICE_ID_INTEL_KBP                0xa2b0
-#define PCI_DEVICE_ID_INTEL_CMLH       0x02ee
+#define PCI_DEVICE_ID_INTEL_CMLLP      0x02ee
+#define PCI_DEVICE_ID_INTEL_CMLH       0x06ee
 #define PCI_DEVICE_ID_INTEL_GLK                0x31aa
 #define PCI_DEVICE_ID_INTEL_CNPLP      0x9dee
 #define PCI_DEVICE_ID_INTEL_CNPH       0xa36e
@@ -200,6 +201,7 @@ static const struct pci_device_id dwc3_pci_id_table[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BSW), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CMLLP), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CMLH), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTLP), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), },