summaryrefslogtreecommitdiff
path: root/arch/mips/lantiq/falcon/sysctrl.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-16 08:25:41 +0000
committerJohn Crispin <blogic@openwrt.org>2012-08-23 00:08:18 +0200
commit3a6ac5004c7c8b140319439f8b1f3f6d4cbfe67a (patch)
treec047ba447d39a70c4007924e305f4da68ad2ca5d /arch/mips/lantiq/falcon/sysctrl.c
parentf8cd170dabeca90c976e6487ba7a8a7752aae571 (diff)
MIPS: lantiq: falcon clocks were not enabled properly
As a result of a non populated ->bits field inside the clock struct, the clock domains were never powered on the Falcon. Until now we only used domains that were also used and powered by the bootloader. Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4234/
Diffstat (limited to 'arch/mips/lantiq/falcon/sysctrl.c')
-rw-r--r--arch/mips/lantiq/falcon/sysctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
index ba0123d13d40..2d4ced332b37 100644
--- a/arch/mips/lantiq/falcon/sysctrl.c
+++ b/arch/mips/lantiq/falcon/sysctrl.c
@@ -171,6 +171,7 @@ static inline void clkdev_add_sys(const char *dev, unsigned int module,
clk->cl.con_id = NULL;
clk->cl.clk = clk;
clk->module = module;
+ clk->bits = bits;
clk->activate = sysctl_activate;
clk->deactivate = sysctl_deactivate;
clk->enable = sysctl_clken;