|
@@ -2323,8 +2323,8 @@ static int omap_hsmmc_suspend(struct device *dev)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
cancel_work_sync(&host->mmc_carddetect_work);
|
|
cancel_work_sync(&host->mmc_carddetect_work);
|
|
- mmc_host_enable(host->mmc);
|
|
|
|
ret = mmc_suspend_host(host->mmc);
|
|
ret = mmc_suspend_host(host->mmc);
|
|
|
|
+ mmc_host_enable(host->mmc);
|
|
if (ret == 0) {
|
|
if (ret == 0) {
|
|
omap_hsmmc_disable_irq(host);
|
|
omap_hsmmc_disable_irq(host);
|
|
OMAP_HSMMC_WRITE(host->base, HCTL,
|
|
OMAP_HSMMC_WRITE(host->base, HCTL,
|