From c9fbf560731c485679ec658c86dd7cb509fa4b34 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Sun, 10 Oct 2010 16:50:49 -0700 Subject: mmc: sdhci-s3c: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device Signed-off-by: Dmitry Shmidt Change-Id: I9b787bcbc72b4f05ff3e8679dbefa2be5a6bd73f --- drivers/mmc/host/sdhci-s3c.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mmc') 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"); -- cgit v1.1