| commit | d0719e59f4ad96616f7c02ef0201667e41778c88 | [log] [tgz] |
|---|---|---|
| author | San Mehat <san@google.com> | Thu Dec 03 10:58:54 2009 -0800 |
| committer | Daniel Walker <dwalker@codeaurora.org> | Thu Mar 18 13:37:23 2010 -0700 |
| tree | 51c30578d5942737d549700c5c28a3d200340d4d | |
| parent | 6ac9ea69069804d357064357d0082b0eab4c87ce [diff] |
mmc: msm_sdcc: Fix issue where clocks could be disabled mid transaction
msmsdcc_enable_clocks() was incorrectly being called depending on
the state of host->clks_on. This means the busclk idle timer was never
being deleted if the clock was already on.. Bogus.
Also fixes a possible double clk disable if the call to
del_timer_sync() in msmsdcc_disable_clocks() raced with
the busclk timer.
Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>