mmc: host: rockchip: pm_caps with MMC_PM_KEEP_POWER for eMMC

This commit is contained in:
lintao
2014-03-28 13:53:53 +08:00
parent 703cd22d32
commit 72a572703f

View File

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