aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-08-16 10:34:01 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-08-16 11:27:59 -0700
commitefadaa2555535c0e0f345d071da4d547dc3f9abc (patch)
tree3471537cc8a9127bbbd472f9d7ab202795d24e5d /drivers/mmc
parent11c327f59840a98bad0d57f259065faf7d22752a (diff)
downloadkernel_samsung_tuna-efadaa2555535c0e0f345d071da4d547dc3f9abc.zip
kernel_samsung_tuna-efadaa2555535c0e0f345d071da4d547dc3f9abc.tar.gz
kernel_samsung_tuna-efadaa2555535c0e0f345d071da4d547dc3f9abc.tar.bz2
mmc: Make sure host is disabled on suspend
Change-Id: Ie0bf2004e173cef8dad66722a152658d7727ab65 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/mmc')
-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 8536095..4608634 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);