diff options
| -rw-r--r-- | arch/mips/alchemy/common/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c index 3612d76007a4..4b5ec49139c2 100644 --- a/arch/mips/alchemy/common/clock.c +++ b/arch/mips/alchemy/common/clock.c | |||
| @@ -127,6 +127,8 @@ static unsigned long alchemy_clk_cpu_recalc(struct clk_hw *hw, | |||
| 127 | t = 396000000; | 127 | t = 396000000; |
| 128 | else { | 128 | else { |
| 129 | t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f; | 129 | t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f; |
| 130 | if (alchemy_get_cputype() < ALCHEMY_CPU_AU1300) | ||
| 131 | t &= 0x3f; | ||
| 130 | t *= parent_rate; | 132 | t *= parent_rate; |
| 131 | } | 133 | } |
| 132 | 134 | ||
