Commit 4c9af015 authored by John Youn's avatar John Youn Committed by Greg Kroah-Hartman

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

commit 94218ee3 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: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f685172d
...@@ -112,6 +112,7 @@ static int dwc3_pci_quirks(struct pci_dev *pdev) ...@@ -112,6 +112,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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment