aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-27 18:42:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-27 18:42:36 +0000
commitb0df2719d6f4f055b835be1ae85fd33592b7b534 (patch)
tree94a139cca2a2a7a700347983d7e564061f1f147f /target/linux/mcs814x
parentda918e3b88d442a58fd4897a81966d9b6c9484f3 (diff)
downloadupstream-b0df2719d6f4f055b835be1ae85fd33592b7b534.tar.gz
upstream-b0df2719d6f4f055b835be1ae85fd33592b7b534.tar.bz2
upstream-b0df2719d6f4f055b835be1ae85fd33592b7b534.zip
[mcs814x] 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 <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34394 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mcs814x')
-rw-r--r--target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/timer.c1
1 files changed, 0 insertions, 1 deletions
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();