summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaveenk <naveenk@nvidia.com>2012-02-14 12:21:15 +0530
committerSimone Willett <swillett@nvidia.com>2012-02-16 13:51:41 -0800
commitcaa6566d4fb8539d09276c1bcb818444af675624 (patch)
tree3aa9ee0d894f4097eb1ccd7b5fa43b548c5ee9da
parent247211315be047f77c8b48049563fd378aa52f9a (diff)
mmc: tegra: enabling MMC_PM_KEEP_POWER flag for built_in devices
During resume mmc_power_up is not necessary for eMMC Bug 932606 Change-Id: I6dd6e7c4f5582ecca8b9c459e3537b05cce69e69 Signed-off-by: naveen kumar arepalli<naveenk@nvidia.com> Reviewed-on: http://git-master/r/83709 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
-rw-r--r--drivers/mmc/host/sdhci-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 95c8cad1dda8..4cc5b2ce4409 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -815,7 +815,7 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
host->mmc->pm_caps |= MMC_PM_KEEP_POWER | MMC_PM_IGNORE_PM_NOTIFY;
if (plat->mmc_data.built_in) {
host->mmc->caps |= MMC_CAP_NONREMOVABLE;
- host->mmc->pm_flags |= MMC_PM_IGNORE_PM_NOTIFY;
+ host->mmc->pm_flags |= MMC_PM_IGNORE_PM_NOTIFY | MMC_PM_KEEP_POWER;
}
/* Do not turn OFF embedded sdio cards as it support Wake on Wireless */
if (plat->mmc_data.embedded_sdio)