diff options
author | Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | 2008-05-15 17:44:00 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-05-16 14:55:07 +0900 |
commit | 65b83427c6e5814556855c42bf9b4edeafd66623 (patch) | |
tree | 30dbff57be3ce9e75c807980f10108e4362d9087 /arch | |
parent | 561c2bccc7c5cf3d42f38f1f4d61c7b609d4631e (diff) |
sh: fix sh7785 master clock value
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7785.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7785.c b/arch/sh/kernel/cpu/sh4a/clock-sh7785.c index 805535aa505..27fa81bef6a 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7785.c @@ -26,7 +26,7 @@ static int pfc_divisors[] = { 1, 1, 1, 1, 1, 1, 1, 18, static void master_clk_init(struct clk *clk) { - clk->rate *= 36; + clk->rate *= pfc_divisors[ctrl_inl(FRQMR1) & 0x000f]; } static struct clk_ops sh7785_master_clk_ops = { |