summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan QIAN <b32804@freescale.com>2011-11-21 14:43:20 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:07:51 +0800
commitb7388a0244f7ed7e45c7b3c92991c98dc1597377 (patch)
tree4d6df507b68766e211db9bf6814d8e5ad52a0bd5
parent648a99167f3c6601b29841f11951394c105b0757 (diff)
ENGR00162681 iMX6 SDIO WIFI AR6003 failed to work on resuming
- Add keep power option to mmc pm_caps, since power of SD can not be cut on mx6, which should be indicated in host pm cap. Signed-off-by: Ryan QIAN <b32804@freescale.com>
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 40e4e33d5dc3..cd9f59469d25 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -475,6 +475,7 @@ static int esdhc_pltfm_init(struct sdhci_host *host, struct sdhci_pltfm_data *pd
host->tuning_max = SDHCI_TUNE_CTRL_MAX;
host->tuning_step = SDHCI_TUNE_CTRL_STEP;
host->clk_mgr_en = true;
+ host->mmc->pm_caps = MMC_PM_KEEP_POWER;
}
/* disable card interrupt enable bit, and clear status bit