diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-02-10 11:25:17 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-02-11 17:12:33 +0300 |
commit | e972c37459c813190461dabfeaac228e00aae259 (patch) | |
tree | 1a0f5c29365850ca1ce2254806a803fa701b31db /arch/openrisc/boot | |
parent | 5070fb14a0154f075c8b418e5bc58a620ae85a45 (diff) | |
download | linux-e972c37459c813190461dabfeaac228e00aae259.tar.xz |
ARM: 8519/1: ICST: try other dividends than 1
Since the dawn of time the ICST code has only supported divide
by one or hang in an eternal loop. Luckily we were always dividing
by one because the reference frequency for the systems using
the ICSTs is 24MHz and the [min,max] values for the PLL input
if [10,320] MHz for ICST307 and [6,200] for ICST525, so the loop
will always terminate immediately without assigning any divisor
for the reference frequency.
But for the code to make sense, let's insert the missing i++
Reported-by: David Binderman <dcb314@hotmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/openrisc/boot')
0 files changed, 0 insertions, 0 deletions