From patchwork Wed Jun 29 02:38:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 926822 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5T2mLrE005789 for ; Wed, 29 Jun 2011 02:48:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751375Ab1F2CsU (ORCPT ); Tue, 28 Jun 2011 22:48:20 -0400 Received: from ganesha.gnumonks.org ([213.95.27.120]:54699 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616Ab1F2CsU (ORCPT ); Tue, 28 Jun 2011 22:48:20 -0400 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.72) (envelope-from ) id 1Qbkp6-00085C-72; Wed, 29 Jun 2011 04:48:16 +0200 Received: from [12.23.102.184] (helo=starstone.dsn.sec.samsung.com) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbk1x-00049H-8L; Wed, 29 Jun 2011 10:57:29 +0900 From: Kukjin Kim To: linux-samsung-soc@vger.kernel.org, linux-mmc@vger.kernel.org Cc: cjb@laptop.org, Wonil Choi , Minho Ban , Ben Dooks , Kukjin Kim Subject: [PATCH] mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume() Date: Wed, 29 Jun 2011 11:38:38 +0900 Message-Id: <1309315118-16133-1-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.7.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 29 Jun 2011 02:48:21 +0000 (UTC) From: Wonil Choi Signed-off-by: Wonil Choi Signed-off-by: Minho Ban Cc: Ben Dooks Signed-off-by: Kukjin Kim --- 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