mmc: host: rockchip: pm_caps with MMC_PM_KEEP_POWER for eMMC
authorlintao <lintao@rock-chips.com>
Fri, 28 Mar 2014 05:53:53 +0000 (13:53 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 28 Mar 2014 05:54:03 +0000 (13:54 +0800)
drivers/mmc/host/rk_sdmmc.c

index 9c101eaeef0e0cbbfe702b2e651be61c6259c586..df3604b479198b24cc04bea5d0b55d3b64c5bafa 100755 (executable)
@@ -2539,7 +2539,7 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id)
 
     /* eMMC should not sched into pm mgmt framework*/
     if(mmc->restrict_caps & RESTRICT_CARD_TYPE_EMMC)
-        mmc->pm_flags |= MMC_PM_IGNORE_PM_NOTIFY;
+        mmc->pm_flags |= (MMC_PM_IGNORE_PM_NOTIFY | MMC_PM_KEEP_POWER);
 
        if (host->pdata->get_ocr)
                mmc->ocr_avail = host->pdata->get_ocr(id);