From a48a860872760257ffbc4787327de2d63478aaf0 Mon Sep 17 00:00:00 2001 From: Pavan Kunapuli Date: Fri, 27 Jul 2012 16:28:00 +0530 Subject: mmc: tegra: Don't set MMC_PM_KEEP_POWER by default 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 Reviewed-on: http://git-master/r/118954 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Naveen Kumar Arepalli Reviewed-by: Bharat Nihalani Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- drivers/mmc/host/sdhci-tegra.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers') diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index d25400d7d1ce..2ed499458221 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -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; -- cgit v1.2.3