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