aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@codeaurora.org>2011-01-18 13:14:33 -0500
committerDavid Brown <davidb@codeaurora.org>2011-01-21 19:57:55 -0500
commit727a99a576ba562e5074d54cfcc57a1ce101c240 (patch)
tree63f3980866ec8d02890ea758b08e8c7f740dacaf /drivers
parent208028de5fa7732704d12cdd3f8fd45d2d8445e3 (diff)
drivers: mmc: msm: remove clock disable in probe
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/msm_sdcc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 733d2333da36..153ab977a013 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -1326,9 +1326,6 @@ msmsdcc_probe(struct platform_device *pdev)
1326 if (host->timer.function) 1326 if (host->timer.function)
1327 pr_info("%s: Polling status mode enabled\n", mmc_hostname(mmc)); 1327 pr_info("%s: Polling status mode enabled\n", mmc_hostname(mmc));
1328 1328
1329#if BUSCLK_PWRSAVE
1330 msmsdcc_disable_clocks(host, 1);
1331#endif
1332 return 0; 1329 return 0;
1333 cmd_irq_free: 1330 cmd_irq_free:
1334 free_irq(cmd_irqres->start, host); 1331 free_irq(cmd_irqres->start, host);