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>
This commit is contained in:
San Mehat
2009-11-13 13:42:06 -08:00
committed by Daniel Walker
parent 5b00f40f90
commit 865c8064a2
2 changed files with 63 additions and 28 deletions

View File

@@ -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 */