projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703cd22
)
mmc: host: rockchip: pm_caps with MMC_PM_KEEP_POWER for eMMC
author
lintao
<lintao@rock-chips.com>
Fri, 28 Mar 2014 05:53:53 +0000
(13:53 +0800)
committer
lintao
<lintao@rock-chips.com>
Fri, 28 Mar 2014 05:54:03 +0000
(13:54 +0800)
drivers/mmc/host/rk_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index 9c101eaeef0e0cbbfe702b2e651be61c6259c586..df3604b479198b24cc04bea5d0b55d3b64c5bafa 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-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);