]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers: mmc: msm: remove clock disable in probe
authorDaniel Walker <dwalker@codeaurora.org>
Tue, 18 Jan 2011 18:14:33 +0000 (10:14 -0800)
committerDavid Brown <davidb@codeaurora.org>
Sat, 22 Jan 2011 00:57:55 +0000 (16:57 -0800)
The probe function adds the MMC host which can start accepting request
immediately. There is an assumption here that no requests happen
immediatly, but it's not always the case. This assumption can causes
a BUG() when the clocks are disabled. The fix is to just remove the
clock disable in the probe function.

Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
drivers/mmc/host/msm_sdcc.c

index 733d2333da363cd1f50bd64ac47bf0d3fd0b9e59..153ab977a013638a7d1a187d3bdb73a33c8d2345 100644 (file)
@@ -1326,9 +1326,6 @@ msmsdcc_probe(struct platform_device *pdev)
        if (host->timer.function)
                pr_info("%s: Polling status mode enabled\n", mmc_hostname(mmc));
 
-#if BUSCLK_PWRSAVE
-       msmsdcc_disable_clocks(host, 1);
-#endif
        return 0;
  cmd_irq_free:
        free_irq(cmd_irqres->start, host);