Patchwork [V4,02/14] ARM: mxc: time: add clk_prepare/clk_unprepare

login
register
mail settings
Submitter Richard Zhao
Date Nov. 15, 2011, 6:47 a.m.
Message ID <1321339689-25256-3-git-send-email-richard.zhao@linaro.org>
Download mbox | patch
Permalink /patch/125690/
State New
Headers show

Comments

Richard Zhao - Nov. 15, 2011, 6:47 a.m.
It's for migrating to generic clk framework API.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
---
 arch/arm/plat-mxc/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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;