Thread (22 messages) 22 messages, 4 authors, 2011-11-11
STALE5317d
Revisions (3)
  1. v2 current
  2. v3 [diff vs current]
  3. v4 [diff vs current]

[PATCH V2 02/14] ARM: mxc: time: add clk_prepare/clk_unprepare

From: Richard Zhao <hidden>
Date: 2011-11-11 01:10:17
Also in: linux-arm-kernel, linux-i2c, linux-mmc, linux-serial
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Signed-off-by: Richard Zhao <redacted>
---
 arch/arm/plat-mxc/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c
index 4b0fe28..b4e8b18 100644
--- a/arch/arm/plat-mxc/time.c
+++ b/arch/arm/plat-mxc/time.c
@@ -292,7 +292,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
 {
 	uint32_t tctl_val;
 
-	clk_enable(timer_clk);
+	clk_prepare_enable(timer_clk);
 
 	timer_base = base;
 
-- 
1.7.5.4

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help