do not call clk_put() on the timer clock
authorFlorian Fainelli <florian@openwrt.org>
Tue, 27 Nov 2012 18:42:36 +0000 (18:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 27 Nov 2012 18:42:36 +0000 (18:42 +0000)
We don't support disabling the clock, but this is actually what it would do.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34394

target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c

index 0947fb245f90500e29f8821471ee68263dba586e..571f9e888c7f3e882a014fd08abe90af192b25fa 100644 (file)
@@ -111,7 +111,6 @@ static void __init mcs814x_timer_init(void)
                panic("unable to get timer0 clock");
 
        clock_rate = clk_get_rate(clk);
-       clk_put(clk);
 
        mcs814x_of_timer_init();