]> git.itanic.dy.fi Git - linux-stable/commitdiff
usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
authorRaymond Tan <raymond.tan@intel.com>
Fri, 21 Aug 2020 13:11:01 +0000 (16:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:02:58 +0000 (11:02 +0200)
commit a609ce2a13360d639b384b6ca783b38c1247f2db upstream.

Similar to some other IA platforms, Elkhart Lake too depends on the
PMU register write to request transition of Dx power state.

Thus, we add the PCI_DEVICE_ID_INTEL_EHLLP to the list of devices that
shall execute the ACPI _DSM method during D0/D3 sequence.

[heikki.krogerus@linux.intel.com: included Fixes tag]

Fixes: dbb0569de852 ("usb: dwc3: pci: Add Support for Intel Elkhart Lake Devices")
Cc: stable@vger.kernel.org
Signed-off-by: Raymond Tan <raymond.tan@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-pci.c

index ec7063e63436b50a8f0cddb2b3bd37ded23d928a..955bf820f41025a84915702516d41d029bd14deb 100644 (file)
@@ -149,7 +149,8 @@ static int dwc3_pci_quirks(struct dwc3_pci *dwc)
 
        if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
                if (pdev->device == PCI_DEVICE_ID_INTEL_BXT ||
-                               pdev->device == PCI_DEVICE_ID_INTEL_BXT_M) {
+                   pdev->device == PCI_DEVICE_ID_INTEL_BXT_M ||
+                   pdev->device == PCI_DEVICE_ID_INTEL_EHLLP) {
                        guid_parse(PCI_INTEL_BXT_DSM_GUID, &dwc->guid);
                        dwc->has_dsm_for_pm = true;
                }