]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: fix clock table walking for OMAP2 variants
authorKevin Hilman <khilman@mvista.com>
Thu, 21 Jun 2007 11:55:49 +0000 (04:55 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Jun 2007 11:55:49 +0000 (04:55 -0700)
commitf21d18754ccafa79befae3c750d3a95bd7193be5
tree134554ceb1c126bf0faac9bc14d5817040cf9fbb
parent5c6cd5d71bdb1a8536238c7812f1dbd6a68bc542
ARM: OMAP: fix clock table walking for OMAP2 variants

The various places where the clock rate_table is walked are not all
checking whether the clock actually exists on the OMAP2 variant.

Among other things, this results in broken rounding for the OMAP2430
since the rounding code can potentially find matching speeds that are
marked as RATE_IN_242X.

It also results in confusing CPUfreq about what the current speed is.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c