linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 3/4] MIPS: lantiq: falcon clocks were not enabled properly
From: John Crispin <blogic@openwrt.org>
Date: Thu, 16 Aug 2012 11:25:41 +0200
Cc: linux-mips@linux-mips.org, John Crispin <blogic@openwrt.org>
In-reply-to: <1345109142-1756-1-git-send-email-blogic@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1345109142-1756-1-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
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>
---
 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


<Prev in Thread] Current Thread [Next in Thread>