Merge "mmc: core: enable async suspend of card"
This commit is contained in:
commit
bdb943e519
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue