summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/msm_sdcc.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-11-13 22:42:06 +0100
committerDaniel Walker <dwalker@codeaurora.org>2010-03-18 21:15:05 +0100
commit865c8064a2fb07100525097983966b8e789bde1a (patch)
tree986ccc9240af2343e4d12084217d1b8fcd6cdf6f /drivers/mmc/host/msm_sdcc.h
parentmsm: Add 'execute' datamover callback (diff)
downloadlinux-865c8064a2fb07100525097983966b8e789bde1a.tar.xz
linux-865c8064a2fb07100525097983966b8e789bde1a.zip
mmc: msm_sdcc: Driver clocking/irq improvements
- Clocks are now disabled after 1 second of inactivity - Fixed issue which was causing us to loop through our ISR twice - Bump core clock enable delay to 30us Signed-off-by: San Mehat <san@google.com> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'drivers/mmc/host/msm_sdcc.h')
-rw-r--r--drivers/mmc/host/msm_sdcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/msm_sdcc.h b/drivers/mmc/host/msm_sdcc.h
index 8c8448469811..6846bd7dff22 100644
--- a/drivers/mmc/host/msm_sdcc.h
+++ b/drivers/mmc/host/msm_sdcc.h
@@ -214,6 +214,8 @@ struct msmsdcc_host {
struct clk *pclk; /* SDCC peripheral bus clock */
unsigned int clks_on; /* set if clocks are enabled */
struct timer_list command_timer;
+ struct timer_list busclk_timer;
+ int use_bustimer;
unsigned int eject; /* eject state */