mmc: sdhci-msm: enable partial initialization in resume
Enable partial init on eMMC devices for using card Sleep/Awake sequence (CMD5). Card will be sent to Sleep state during runtime/system suspend and will be woken up during runtime/system resume. By using this sequence the card doesn't need full initialization which gives time reduction in system/runtime resume path. Change-Id: Ide2b8050b56e858cda7bb22b4acf43b5bd3db786 Signed-off-by: Talel Shenhar <tatias@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org>
This commit is contained in:
parent
28791b7d46
commit
0044c4d39c
1 changed files with 1 additions and 0 deletions
|
@ -4100,6 +4100,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
|
|||
msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE;
|
||||
msm_host->mmc->caps2 |= MMC_CAP2_SANITIZE;
|
||||
msm_host->mmc->caps2 |= MMC_CAP2_MAX_DISCARD_SIZE;
|
||||
msm_host->mmc->caps2 |= MMC_CAP2_SLEEP_AWAKE;
|
||||
|
||||
if (msm_host->pdata->nonremovable)
|
||||
msm_host->mmc->caps |= MMC_CAP_NONREMOVABLE;
|
||||
|
|
Loading…
Add table
Reference in a new issue