davinci: use divide ratio limits from pll_data
commitb1d05be61f5d29118c2934e684628a5034186825
authorCyril Chemparathy <cyril@ti.com>
Wed, 20 Oct 2010 21:49:56 +0000 (20 17:49 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 10 Dec 2010 15:33:49 +0000 (10 07:33 -0800)
tree8e352e171eb4a0f14538317f3917a5fabf746341
parent6d1c57c84cc474a0fa63aadaa260b13dc5c7d68b
davinci: use divide ratio limits from pll_data

This patch modifies the sysclk rate setting code to use the divider mask
specified in pll_data.  Without this, devices with different divider ranges
(e.g. tnetv107x) fail.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/clock.c