projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e8d81
)
mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume
author
Shawn Lin
<shawn.lin@rock-chips.com>
Mon, 7 Mar 2016 15:38:56 +0000
(23:38 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:39 +0000
(14:54 +0100)
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>
drivers/mmc/host/sdhci-of-arasan.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-arasan.c
b/drivers/mmc/host/sdhci-of-arasan.c
index
1e4b5e0
..
ae8052d
100644
(file)
--- 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;
}