Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65d13516 authored by Wonil Choi's avatar Wonil Choi Committed by Chris Ball
Browse files

mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume()



Signed-off-by: default avatarWonil Choi <wonil22.choi@samsung.com>
Signed-off-by: default avatarMinho Ban <mhban@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 58d1246d
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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