From: San Mehat Date: Thu, 3 Dec 2009 18:58:54 +0000 (-0800) Subject: mmc: msm_sdcc: Fix issue where clocks could be disabled mid transaction X-Git-Tag: v2.6.35-rc1~448^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0719e59f4ad96616f7c02ef0201667e41778c88;p=pandora-kernel.git 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 Signed-off-by: Daniel Walker --- Reading git-diff-tree failed