Merge "mmc: core: enable async suspend of card"

This commit is contained in:
Linux Build Service Account 2017-09-11 19:12:44 -07:00 committed by Gerrit - the friendly Code Review server
commit bdb943e519
2 changed files with 2 additions and 1 deletions

View file

@ -401,6 +401,7 @@ int mmc_add_card(struct mmc_card *card)
return ret;
mmc_card_set_present(card);
device_enable_async_suspend(&card->dev);
return 0;
}

View file

@ -5015,7 +5015,7 @@ static int sdhci_msm_suspend_noirq(struct device *dev)
}
static const struct dev_pm_ops sdhci_msm_pmops = {
SET_SYSTEM_SLEEP_PM_OPS(sdhci_msm_suspend, sdhci_msm_resume)
SET_LATE_SYSTEM_SLEEP_PM_OPS(sdhci_msm_suspend, sdhci_msm_resume)
SET_RUNTIME_PM_OPS(sdhci_msm_runtime_suspend, sdhci_msm_runtime_resume,
NULL)
.suspend_noirq = sdhci_msm_suspend_noirq,