aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2010-10-10 16:50:49 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:49:58 -0800
commitc9fbf560731c485679ec658c86dd7cb509fa4b34 (patch)
treed210e2a875e485ce685ffe99a4c97efcba787434 /drivers/mmc
parent575d21721435b78d1479d80869347f9c7915801b (diff)
downloadkernel_samsung_aries-c9fbf560731c485679ec658c86dd7cb509fa4b34.zip
kernel_samsung_aries-c9fbf560731c485679ec658c86dd7cb509fa4b34.tar.gz
kernel_samsung_aries-c9fbf560731c485679ec658c86dd7cb509fa4b34.tar.bz2
mmc: sdhci-s3c: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Change-Id: I9b787bcbc72b4f05ff3e8679dbefa2be5a6bd73f
Diffstat (limited to 'drivers/mmc')
-rwxr-xr-xdrivers/mmc/host/sdhci-s3c.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 9aa4d15..93be4d4 100755
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -580,6 +580,11 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
if (pdata->host_caps)
host->mmc->caps |= pdata->host_caps;
+ /* Set pm_flags for built_in device */
+ host->mmc->pm_caps = MMC_PM_KEEP_POWER | MMC_PM_IGNORE_PM_NOTIFY;
+ if (pdata->built_in)
+ host->mmc->pm_flags = MMC_PM_KEEP_POWER | MMC_PM_IGNORE_PM_NOTIFY;
+
ret = sdhci_add_host(host);
if (ret) {
dev_err(dev, "sdhci_add_host() failed\n");