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 <shawn.lin@rock-chips.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Shawn Lin 2016-03-07 23:38:56 +08:00 committed by Ulf Hansson
parent 18e8d812dd
commit 842750488d
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}