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:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user