From: Daniel Walker Date: Tue, 18 Jan 2011 18:14:33 +0000 (-0800) Subject: drivers: mmc: msm: remove clock disable in probe X-Git-Tag: v3.0~1980^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=727a99a576ba562e5074d54cfcc57a1ce101c240;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 733d233..153ab97 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) 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);