ARM: ux500: fix the smp_twd clock calculation
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Dec 2011 23:28:50 +0000 (00:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Dec 2011 23:35:08 +0000 (00:35 +0100)
commit1095843489f7a805106dc0cc39187d5df960d11a
treed2f6edd0950e9dc753462ebc6f2c469db0704dcb
parentc15def1cc30edeaa74a97205c936be82cdc86df6
ARM: ux500: fix the smp_twd clock calculation

The clock for the smp_twd block is not equal to the CPU
frequency, actually it is divided by two, so fix this,
and set the initial frequency to half of 1GHz which is
the most common case.

Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/clock.c