projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci-of-arasan.c
b/drivers/mmc/host/sdhci-of-arasan.c
index 1e4b5e06f1a8064ce6e55ff16974ffbe95054d6e..ae8052d41ad94b9db10e05f77af71ed3463b14c5 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;
}