From: Yuvaraj Kumar C D <yuvaraj.cd@gmail.com>
To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org,
kgene.kim@samsung.com, linux-usb@vger.kernel.org,
sarah.a.sharp@linux.intel.com, balbi@ti.com,
gautam.vivek@samsung.com, joshi@samsung.com
Cc: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org,
Andrew Bresticker <abrestic@chromium.org>,
Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Subject: [RFC 4/5] usb: dwc3-exynos: enable async suspend/resume
Date: Wed, 18 Dec 2013 16:09:33 +0530 [thread overview]
Message-ID: <1387363174-25942-4-git-send-email-yuvaraj.cd@samsung.com> (raw)
In-Reply-To: <1387363174-25942-1-git-send-email-yuvaraj.cd@samsung.com>
From: Andrew Bresticker <abrestic@chromium.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@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.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
next prev parent reply other threads:[~2013-12-18 10:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 10:39 [RFC 1/5] usb: ohci-exynos: " 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 ` Yuvaraj Kumar C D [this message]
2013-12-18 16:07 ` [RFC 4/5] usb: dwc3-exynos: " Felipe Balbi
2013-12-18 10:39 ` [RFC 5/5] usb: dwc3: " Yuvaraj Kumar C D
2013-12-18 16:06 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387363174-25942-4-git-send-email-yuvaraj.cd@samsung.com \
--to=yuvaraj.cd@gmail.com \
--cc=abrestic@chromium.org \
--cc=balbi@ti.com \
--cc=gautam.vivek@samsung.com \
--cc=gregkh@linuxfoundation.org \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sarah.a.sharp@linux.intel.com \
--cc=stern@rowland.harvard.edu \
--cc=yuvaraj.cd@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®