mirror of https://gitee.com/openkylin/linux.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 <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:
parent
18e8d812dd
commit
842750488d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue