From: Shawn Lin Date: Mon, 7 Mar 2016 15:38:56 +0000 (+0800) Subject: mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume X-Git-Tag: v4.6-rc1~58^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=842750488de659ffd12a28e5f5328c9f15ea08e1;p=platform%2Fkernel%2Flinux-exynos.git mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume We don't really need disable clk_ahb when failing to resume. Otherwise we may take risk of bus error for accessing register without clk_ahb. Signed-off-by: Shawn Lin Acked-by: Adrian Hunter Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index 1e4b5e0..ae8052d 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -118,7 +118,6 @@ static int sdhci_arasan_resume(struct device *dev) ret = clk_enable(pltfm_host->clk); if (ret) { dev_err(dev, "Cannot enable SD clock.\n"); - clk_disable(sdhci_arasan->clk_ahb); return ret; }