aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-08-16 10:34:01 -0700
committerZiyan <jaraidaniel@gmail.com>2016-03-11 15:57:55 +0100
commit24aab06d3c987bb2156449c1c100cdd4dd96fed0 (patch)
tree0b13e53c4944a6b8b073ab2a3fe56423eb8d57a7
parent46b24a817e4e9976e28ea88b0fd352b8e49dcb43 (diff)
downloadkernel_samsung_espresso10-24aab06d3c987bb2156449c1c100cdd4dd96fed0.zip
kernel_samsung_espresso10-24aab06d3c987bb2156449c1c100cdd4dd96fed0.tar.gz
kernel_samsung_espresso10-24aab06d3c987bb2156449c1c100cdd4dd96fed0.tar.bz2
mmc: Make sure host is disabled on suspend
Change-Id: Ie0bf2004e173cef8dad66722a152658d7727ab65 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--drivers/mmc/core/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 0ddb16d..78372d7 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1869,6 +1869,7 @@ int mmc_suspend_host(struct mmc_host *host)
host->pm_flags = 0;
err = 0;
}
+ flush_delayed_work(&host->disable);
}
mmc_bus_put(host);