From: Dmitry Shmidt Date: Thu, 16 Aug 2012 17:34:01 +0000 (-0700) Subject: mmc: Make sure host is disabled on suspend X-Git-Tag: firefly_0821_release~7613^2~64 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=efadaa2555535c0e0f345d071da4d547dc3f9abc;p=firefly-linux-kernel-4.4.55.git mmc: Make sure host is disabled on suspend Change-Id: Ie0bf2004e173cef8dad66722a152658d7727ab65 Signed-off-by: Dmitry Shmidt --- 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);