]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: mxc: time: add clk_prepare/clk_unprepare
authorRichard Zhao <richard.zhao@linaro.org>
Tue, 15 Nov 2011 06:47:57 +0000 (14:47 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Feb 2012 13:27:59 +0000 (14:27 +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/time.c

index 1c96cdb4c35e9036ff78e97a084a1423a720e1ca..7daf7c9a413bf62eb9a7ad86f659a0eadf016d44 100644 (file)
@@ -283,7 +283,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;