[PATCH 1/9] ARM: mxc: time: convert to clk_prepare/clk_unprepare
Richard Zhao
richard.zhao at linaro.org
Wed Nov 9 23:54:06 EST 2011
Signed-off-by: Richard Zhao <richard.zhao at linaro.org>
---
arch/arm/plat-mxc/time.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c
index 4b0fe28..5fa0cc4 100644
--- a/arch/arm/plat-mxc/time.c
+++ b/arch/arm/plat-mxc/time.c
@@ -292,6 +292,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
{
uint32_t tctl_val;
+ clk_prepare(timer_clk);
clk_enable(timer_clk);
timer_base = base;
--
1.7.5.4
More information about the linux-arm-kernel
mailing list