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:
8f33eed
)
ARM: mxc: arch_reset: add clk_prepare/clk_unprepare
author
Richard Zhao
<richard.zhao@linaro.org>
Tue, 15 Nov 2011 06:48:01 +0000
(14:48 +0800)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 1 Feb 2012 13:28:00 +0000
(14:28 +0100)
It's for migrating to generic clk framework API.
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/system.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-mxc/system.c
b/arch/arm/plat-mxc/system.c
index
3599bf2
..
f30dcac
100644
(file)
--- a/
arch/arm/plat-mxc/system.c
+++ b/
arch/arm/plat-mxc/system.c
@@
-48,7
+48,7
@@
void mxc_restart(char mode, const char *cmd)
clk = clk_get_sys("imx2-wdt.0", NULL);
if (!IS_ERR(clk))
- clk_enable(clk);
+ clk_
prepare_
enable(clk);
wcr_enable = (1 << 2);
}