mmc: tegra: Don't set MMC_PM_KEEP_POWER by default
Pavan Kunapuli [Fri, 27 Jul 2012 10:58:00 +0000 (15:58 +0530)]
For SDIO devices, MMC_PM_KEEP_POWER would be set
by wifi driver during suspend. It need not be set
by default.

Bug 1011349

Change-Id: I779a438b45afed2cc0fd7283d89c24e9049cfe39
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/118954
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

drivers/mmc/host/sdhci-tegra.c

index d25400d..2ed4994 100644 (file)
@@ -1136,12 +1136,6 @@ static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
        host->mmc->caps |= MMC_CAP_BKOPS;
 #endif
 
-#ifdef CONFIG_MMC_EMBEDDED_SDIO
-       /* Do not turn OFF embedded sdio cards as it support Wake on Wireless */
-       if (plat->mmc_data.embedded_sdio)
-               host->mmc->pm_flags |= MMC_PM_KEEP_POWER;
-#endif
-
        tegra_sdhost_min_freq = TEGRA_SDHOST_MIN_FREQ;
 #ifdef CONFIG_ARCH_TEGRA_2x_SOC
        tegra_host->hw_ops = &tegra_2x_sdhci_ops;