diff options
author | Ryan QIAN <b32804@freescale.com> | 2011-11-22 10:38:32 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:18:10 +0800 |
commit | 1e0c81f96f9e06916777f2ac6b4820b56e2b733d (patch) | |
tree | fb189d9659eed967c12c953785468eba60515576 /drivers/mmc/host | |
parent | 58b06af1fd082b0ccd342e4e92e73d9095469c9d (diff) |
ENGR00162792-1 [IMX6Q] mmc host pm caps should be board specific
- move mmc host pm caps into board specific section
Signed-off-by: Ryan QIAN <b32804@freescale.com>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 31c63ed50cc6..acf291f13e2f 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -469,13 +469,14 @@ static int esdhc_pltfm_init(struct sdhci_host *host, struct sdhci_pltfm_data *pd host->ocr_avail_sd |= MMC_VDD_165_195; if (boarddata->support_8bit) host->mmc->caps |= MMC_CAP_8_BIT_DATA; + if (boarddata->keep_power_at_suspend) + host->mmc->pm_caps |= MMC_PM_KEEP_POWER; if (cpu_is_mx6q()) { host->mmc->caps |= MMC_CAP_1_8V_DDR; host->tuning_min = SDHCI_TUNE_CTRL_MIN; 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 |