diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-07-14 14:16:59 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-21 18:35:06 +0400 |
commit | 71d111cd34ee119c93d056ad9e84dc0e82367f82 (patch) | |
tree | 7bc21722ad1f8122b57ca5fe96b2298ded3fea40 /drivers/mmc/host/tmio_mmc.h | |
parent | b9269fdd4f61aa4d185c982b0f84a3e7b7ccb4d2 (diff) | |
download | linux-71d111cd34ee119c93d056ad9e84dc0e82367f82.tar.xz |
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.h | 2 |
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; |