From: Ryan QIAN Date: Tue, 22 Nov 2011 02:38:32 +0000 (+0800) Subject: ENGR00162792-1 [IMX6Q] mmc host pm caps should be board specific X-Git-Tag: v3.0.35-fsl_4.1.0~2014 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=04e65651aa9498864d5ca398515a1cee2274bb93;p=karo-tx-linux.git 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 --- 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