瀏覽代碼

usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms

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.

Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
John Youn 10 年之前
父節點
當前提交
94218ee31b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/dwc3/dwc3-pci.c

+ 1 - 0
drivers/usb/dwc3/dwc3-pci.c

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