diff options
author | Rakesh Kumar <krakesh@nvidia.com> | 2011-05-09 21:32:08 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-05-18 10:34:38 -0700 |
commit | 2c6fcec10ad5569670c97114dd880169efb8fed5 (patch) | |
tree | 74606ba0e3dbb8002d2fa0d061a678a6a3d7a61e | |
parent | 6d8d2c454e835f7cfe34371e07dac173f3153452 (diff) |
tegra: sdhci: ignore pm_notify for always-on controllers
sdhci instance used by wifi should be always on to support
wake on wireless functionlity. pm_notify will power off
controller on suspend/resume which is not desired for wifi
instance.
bug 818687
bug 780047
bug 798783
Change-Id: I572e9e1f275c306eadda85ca95234a427fad23ca
Reviewed-on: http://git-master/r/30864
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Tested-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 67307a3e5203..edf0dc63dc0a 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -174,6 +174,8 @@ static int __devinit tegra_sdhci_probe(struct platform_device *pdev) plat->funcs, plat->num_funcs); #endif + if (host->card_always_on) + sdhci->mmc->pm_flags |= MMC_PM_IGNORE_PM_NOTIFY; rc = sdhci_add_host(sdhci); if (rc) |