diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh3/clock-sh7709.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/clock-sh7709.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh3/clock-sh7709.c b/arch/sh/kernel/cpu/sh3/clock-sh7709.c index 10461a745e5f0f..a1aaa1a839c087 100644 --- a/arch/sh/kernel/cpu/sh3/clock-sh7709.c +++ b/arch/sh/kernel/cpu/sh3/clock-sh7709.c @@ -4,7 +4,7 @@ * SH7709 support for the clock framework * * Copyright (C) 2005 Andriy Skulysh - * + * * Based on arch/sh/kernel/cpu/sh3/clock-sh7705.c * Copyright (C) 2005 Paul Mundt * @@ -59,7 +59,7 @@ static struct clk_ops sh7709_module_clk_ops = { static void bus_clk_recalc(struct clk *clk) { int frqcr = ctrl_inw(FRQCR); - int idx = (frqcr & 0x0080) ? + int idx = (frqcr & 0x0080) ? ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4) : 1; clk->rate = clk->parent->rate * stc_multipliers[idx]; |