From 04e65651aa9498864d5ca398515a1cee2274bb93 Mon Sep 17 00:00:00 2001 From: Ryan QIAN Date: Tue, 22 Nov 2011 10:38:32 +0800 Subject: [PATCH] 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 --- drivers/mmc/host/sdhci-esdhc-imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5