mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
mmc: host: rockchip: pm_caps with MMC_PM_KEEP_POWER for eMMC
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user