summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAsutosh Das <asutoshd@codeaurora.org>2013-06-24 18:20:45 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-27 10:28:45 -0700
commitc7626f6a261b6004fcf8d4de7bc5ed4efa4490f1 (patch)
tree2e6aa819c15b2622ec16af48aeaf3cde7ad37d9c /drivers
parent9102d4a526fdb62699e2c68df1b15d48b7950e66 (diff)
mmc: sdhci-msm: add MMC_PM_KEEP_POWER flag
This flag ensures that the power to the sdio card is not cut-off. That way this can wake-up the device when required using asynchronous interrupt mechanism. Change-Id: Ic91bfdc93e117c5e627360a4d0ef80f661aa1b60 Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sdhci-msm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 08558b511af0..90a13ee1b799 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -2356,6 +2356,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host->mmc->caps2 |= MMC_CAP2_POWEROFF_NOTIFY;
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
msm_host->mmc->caps2 |= MMC_CAP2_ASYNC_SDIO_IRQ_4BIT_MODE;
+ msm_host->mmc->pm_caps |= MMC_PM_KEEP_POWER;
if (msm_host->pdata->nonremovable)
msm_host->mmc->caps |= MMC_CAP_NONREMOVABLE;