mmc: Make sure host is disabled on suspend

Change-Id: Ie0bf2004e173cef8dad66722a152658d7727ab65
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt 2012-08-16 10:34:01 -07:00
parent 11c327f598
commit efadaa2555

View File

@ -1851,6 +1851,7 @@ int mmc_suspend_host(struct mmc_host *host)
host->pm_flags = 0;
err = 0;
}
flush_delayed_work(&host->disable);
}
mmc_bus_put(host);