summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-14 12:16:59 +0200
committerChris Ball <cjb@laptop.org>2011-07-21 16:35:06 +0200
commit71d111cd34ee119c93d056ad9e84dc0e82367f82 (patch)
tree7bc21722ad1f8122b57ca5fe96b2298ded3fea40 /drivers/mmc/host/tmio_mmc.h
parentmmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled (diff)
downloadlinux-71d111cd34ee119c93d056ad9e84dc0e82367f82.tar.xz
linux-71d111cd34ee119c93d056ad9e84dc0e82367f82.zip
mmc: tmio: maximize power saving
This patch uses runtime PM to allow the system to power down the MMC controller, when the MMC closk is switched off. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r--drivers/mmc/host/tmio_mmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index f0d7c4349793..ba0d8e66001d 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -53,6 +53,8 @@ struct tmio_mmc_host {
void (*set_clk_div)(struct platform_device *host, int state);
int pm_error;
+ /* recognise system-wide suspend in runtime PM methods */
+ bool pm_global;
/* pio related stuff */
struct scatterlist *sg_ptr;