Thread (4 messages) 4 messages, 1 author, 2012-08-16
STALE5061d

[PATCH 3/4] MIPS: lantiq: falcon clocks were not enabled properly

From: John Crispin <hidden>
Date: 2012-08-16 09:27:50
Subsystem: mips, the rest · Maintainers: Thomas Bogendoerfer, Linus Torvalds

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 <redacted>
---
 arch/mips/lantiq/falcon/sysctrl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
index ba0123d..2d4ced3 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;
-- 
1.7.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help