]> git.hungrycats.org Git - linux/commitdiff
usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms
authorJohn Youn <John.Youn@synopsys.com>
Sat, 3 Oct 2015 03:32:17 +0000 (20:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:34:37 +0000 (14:34 -0500)
commit 94218ee31ba56fb3a8625978b393124ad660408e upstream.

Certain Synopsys prototyping PHY boards are not able to meet timings
constraints for LPM. This allows the PHY to meet those timings by
leaving the PHY clock running during suspend.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-pci.c

index 0a3ccfc502c89d4e298ed5c2bd64dee80c42b8bb..2cd33cb07ed96d07ff0336f1a3778a48e28afab5 100644 (file)
@@ -118,6 +118,7 @@ static int dwc3_pci_quirks(struct pci_dev *pdev)
                memset(&pdata, 0, sizeof(pdata));
                pdata.usb3_lpm_capable = true;
                pdata.has_lpm_erratum = true;
+               pdata.dis_enblslpm_quirk = true;
 
                return platform_device_add_data(pci_get_drvdata(pdev), &pdata,
                                                sizeof(pdata));