From: Ryan QIAN Date: Mon, 21 Nov 2011 06:43:20 +0000 (+0800) Subject: ENGR00162681 iMX6 SDIO WIFI AR6003 failed to work on resuming X-Git-Tag: v3.0.35-fsl_4.1.0~2017 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e41d02e87bce00526c530bee08979b0853d9003;p=karo-tx-linux.git 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 --- diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index bb606bb3b824..31c63ed50cc6 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