usb: xhci: plat: Enable runtime PM
Subsystems (2)
v7 cover usb: xhci: plat: Enable runtime PM
This series enables runtime PM and asynchronous resume/suspend support for xhci-plat devices.
Due to Baolin Wangs series[1] part 1/2 of this series is now dropped.
[1] https://lkml.org/lkml/2016/12/13/32
Andrew Bresticker (1):
usb: xhci: plat: Enable async suspend/resume
drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.11.0.453.g787f75f05
PATCH v7 1/1 usb: xhci: plat: Enable async suspend/resume
From: Andrew Bresticker <[email protected]>
USB host controllers can take a significant amount of time to suspend and resume, adding several hundred miliseconds to the kernel resume time. Since the XHCI controller has no outside dependencies (other than clocks, which are suspended late/resumed early), allow it to suspend and resume asynchronously.
Signed-off-by Andrew Bresticker <[email protected]>
Tested-by Andrew Bresticker <[email protected]>
Tested-by Robert Foss <[email protected]>
Signed-off-by Robert Foss <[email protected]>
--- drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/xhci-plat.c +1 -0
@@ -257,6 +257,7 @@ static int xhci_plat_probe(struct platform_device *pdev)pm_runtime_set_active (&pdev->dev);pm_runtime_enable (&pdev->dev); +device_enable_async_suspend (&pdev->dev);return 0 ;
Signature · 1 line
2.11.0.453.g787f75f05