From: Florian Fainelli Date: Tue, 27 Nov 2012 18:42:36 +0000 (+0000) Subject: do not call clk_put() on the timer clock X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d59ba20030285079b194b17c0e6cc95ee62d7537;p=openwrt%2Fstaging%2Flinusw.git do not call clk_put() on the timer clock We don't support disabling the clock, but this is actually what it would do. Signed-off-by: Florian Fainelli SVN-Revision: 34394 --- diff --git a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c index 0947fb245f..571f9e888c 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c +++ b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c @@ -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();