From efadaa2555535c0e0f345d071da4d547dc3f9abc Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 16 Aug 2012 10:34:01 -0700 Subject: [PATCH] mmc: Make sure host is disabled on suspend Change-Id: Ie0bf2004e173cef8dad66722a152658d7727ab65 Signed-off-by: Dmitry Shmidt --- drivers/mmc/core/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 85360955816d..460863422892 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -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); -- 2.34.1