linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 1/5] usb: ohci-exynos: enable async suspend/resume
@ 2013-12-18 10:39 Yuvaraj Kumar C D
  2013-12-18 10:39 ` [RFC 2/5] usb: ehci-s5p: " Yuvaraj Kumar C D
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Yuvaraj Kumar C D @ 2013-12-18 10:39 UTC (permalink / raw)
  To: stern, gregkh, kgene.kim, linux-usb, sarah.a.sharp, balbi,
	gautam.vivek, joshi
  Cc: linux-arm-kernel, linux-samsung-soc, linux-omap, linux-kernel,
	Andrew Bresticker, Yuvaraj Kumar C D

From: Andrew Bresticker <abrestic@chromium.org>

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 Exynos OHCI 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 <abrestic@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
---
 drivers/usb/host/ohci-exynos.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c
index 68588d8..faad2bdc 100644
--- a/drivers/usb/host/ohci-exynos.c
+++ b/drivers/usb/host/ohci-exynos.c
@@ -137,6 +137,8 @@ skip_phy:
 	if (exynos_ohci->otg)
 		exynos_ohci->otg->set_host(exynos_ohci->otg, &hcd->self);
 
+	device_enable_async_suspend(&pdev->dev);
+
 	platform_set_drvdata(pdev, hcd);
 
 	exynos_ohci_phy_enable(pdev);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-18 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 10:39 [RFC 1/5] usb: ohci-exynos: enable async suspend/resume Yuvaraj Kumar C D
2013-12-18 10:39 ` [RFC 2/5] usb: ehci-s5p: " Yuvaraj Kumar C D
2013-12-18 10:39 ` [RFC 3/5] usb: xhci-plat: " Yuvaraj Kumar C D
2013-12-18 10:39 ` [RFC 4/5] usb: dwc3-exynos: " Yuvaraj Kumar C D
2013-12-18 16:07   ` Felipe Balbi
2013-12-18 10:39 ` [RFC 5/5] usb: dwc3: " Yuvaraj Kumar C D
2013-12-18 16:06   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).