summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRakesh Kumar <krakesh@nvidia.com>2011-05-09 21:32:08 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-07-28 16:21:09 -0700
commitb1dd1cf5dca955ad758dc8ef6290cf9b2c0fb491 (patch)
treed3c41f58418d7c91ee36a39b26b929c70ad8eab8 /drivers/mmc
parentead2ec6877648b0ab9f431f6aaae4cc3a30e28bb (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 (cherry picked from commit 2c6fcec10ad5569670c97114dd880169efb8fed5) Change-Id: Ied8b673c9fc1b4a8d09413243370fdb6f366b1c8 Reviewed-on: http://git-master/r/43467 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-tegra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 26727d372741..b3881cce78de 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -404,6 +404,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;
platform_set_drvdata(pdev, host);