]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00162681 iMX6 SDIO WIFI AR6003 failed to work on resuming
authorRyan QIAN <b32804@freescale.com>
Mon, 21 Nov 2011 06:43:20 +0000 (14:43 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:07 +0000 (14:10 +0200)
- 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>
drivers/mmc/host/sdhci-esdhc-imx.c

index bb606bb3b8245511b7d5a2c6656238f040664887..31c63ed50cc6773922b7442cb250f6ba5f90c928 100644 (file)
@@ -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