[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1387363174-25942-4-git-send-email-yuvaraj.cd@samsung.com>
Date: Wed, 18 Dec 2013 16:09:33 +0530
From: Yuvaraj Kumar C D <yuvaraj.cd@...il.com>
To: stern@...land.harvard.edu, gregkh@...uxfoundation.org,
kgene.kim@...sung.com, linux-usb@...r.kernel.org,
sarah.a.sharp@...ux.intel.com, balbi@...com,
gautam.vivek@...sung.com, joshi@...sung.com
Cc: linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andrew Bresticker <abrestic@...omium.org>,
Yuvaraj Kumar C D <yuvaraj.cd@...sung.com>
Subject: [RFC 4/5] usb: dwc3-exynos: enable async suspend/resume
From: Andrew Bresticker <abrestic@...omium.org>
In addition to enabling async suspend/resume on the xhci-plat device,
we must enable it for the dwc3-exynos platform device in order to make
the full USB stack resume asynchronously. Like the xhci-plat, ehci-s5p,
and ohci-exynos drivers, there are no outside dependencies which would
make resuming the dwc3-exynos driver asynchronously unsafe.
Signed-off-by: Andrew Bresticker <abrestic@...omium.org>
Reviewed-by: Julius Werner <jwerner@...omium.org>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@...sung.com>
---
drivers/usb/dwc3/dwc3-exynos.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index 8b20c70..57431b7 100644
--- a/drivers/usb/dwc3/dwc3-exynos.c
+++ b/drivers/usb/dwc3/dwc3-exynos.c
@@ -155,6 +155,8 @@ static int dwc3_exynos_probe(struct platform_device *pdev)
goto err2;
}
+ device_enable_async_suspend(dev);
+
return 0;
err2:
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists