ARM: 5958/1: ARM: U300: fix inverted clk round rate
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 24 Feb 2010 20:49:53 +0000 (21:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Feb 2010 21:10:17 +0000 (21:10 +0000)
commitcd71f8f48eda141404db78f7b01902ba3f9ab477
tree00401a03cc866b669b28059272946c3705875e2b
parentfcfadcaa57be0711ca80e3898243388f4d19928f
ARM: 5958/1: ARM: U300: fix inverted clk round rate

The clk_round_rate() functions in the U300 clocking will always
select the lowest clocking frequency due to inverted rounding
comparisons. Fix this.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/clock.c