* [PATCH] mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume()
@ 2011-06-29 2:38 Kukjin Kim
2011-07-09 20:50 ` Chris Ball
0 siblings, 1 reply; 2+ messages in thread
From: Kukjin Kim @ 2011-06-29 2:38 UTC (permalink / raw)
To: linux-samsung-soc, linux-mmc
Cc: cjb, Wonil Choi, Minho Ban, Ben Dooks, Kukjin Kim
From: Wonil Choi <wonil22.choi@samsung.com>
Signed-off-by: Wonil Choi <wonil22.choi@samsung.com>
Signed-off-by: Minho Ban <mhban@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
drivers/mmc/host/sdhci-s3c.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 69e3ee3..460ffaf 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -612,16 +612,14 @@ static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm)
{
struct sdhci_host *host = platform_get_drvdata(dev);
- sdhci_suspend_host(host, pm);
- return 0;
+ return sdhci_suspend_host(host, pm);
}
static int sdhci_s3c_resume(struct platform_device *dev)
{
struct sdhci_host *host = platform_get_drvdata(dev);
- sdhci_resume_host(host);
- return 0;
+ return sdhci_resume_host(host);
}
#else
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume()
2011-06-29 2:38 [PATCH] mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume() Kukjin Kim
@ 2011-07-09 20:50 ` Chris Ball
0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-07-09 20:50 UTC (permalink / raw)
To: Kukjin Kim; +Cc: linux-samsung-soc, linux-mmc, Wonil Choi, Minho Ban, Ben Dooks
Hi Kukjin,
On Tue, Jun 28 2011, Kukjin Kim wrote:
> diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
> index 69e3ee3..460ffaf 100644
> --- a/drivers/mmc/host/sdhci-s3c.c
> +++ b/drivers/mmc/host/sdhci-s3c.c
> @@ -612,16 +612,14 @@ static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm)
> {
> struct sdhci_host *host = platform_get_drvdata(dev);
>
> - sdhci_suspend_host(host, pm);
> - return 0;
> + return sdhci_suspend_host(host, pm);
> }
>
> static int sdhci_s3c_resume(struct platform_device *dev)
> {
> struct sdhci_host *host = platform_get_drvdata(dev);
>
> - sdhci_resume_host(host);
> - return 0;
> + return sdhci_resume_host(host);
> }
>
> #else
Thanks, pushed to mmc-next for 3.1.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-09 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 2:38 [PATCH] mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume() Kukjin Kim
2011-07-09 20:50 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox