diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-10-30 00:16:17 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 13:59:10 +0200 |
commit | ae12d25053fa20d67b16e568917b956006d5dc01 (patch) | |
tree | 08b01694705b666711762269c4e2b4b85470a988 /drivers/mmc/host/tmio_mmc.h | |
parent | mmc: tmio: Restructure ->set_ios() and adapt ->probe() to it (diff) | |
download | linux-ae12d25053fa20d67b16e568917b956006d5dc01.tar.xz linux-ae12d25053fa20d67b16e568917b956006d5dc01.zip |
mmc: tmio: Handle clock gating from runtime PM functions
Add clock gating control as a part of the tmio library functions for
runtime PM.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index f837723c30b9..f1ee3e4355de 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -73,9 +73,10 @@ struct tmio_mmc_host { struct delayed_work delayed_reset_work; struct work_struct done; - /* Cache IRQ mask */ + /* Cache */ u32 sdcard_irq_mask; u32 sdio_irq_mask; + unsigned int clk_cache; spinlock_t lock; /* protect host private data */ unsigned long last_req_ts; |