ARM: tegra: clock: Round rate before dvfs
authorColin Cross <ccross@android.com>
Wed, 8 Dec 2010 02:24:55 +0000 (18:24 -0800)
committerColin Cross <ccross@android.com>
Thu, 9 Dec 2010 02:12:08 +0000 (18:12 -0800)
commita8f05581f7aa230d07517e2d7e9ec33c5d3cb552
tree3ef1995aa221eb37689855bcaab034e2f302bf90
parent0e3fe9b3944d3dad3b2268d4acdbd77fd727dcd5
ARM: tegra: clock: Round rate before dvfs

Call the clock's round_rate op, if it exists, before setting
dvfs rate.  Ensures dvfs is set to the rate the clock will
be at after the later call to set_rate.

Change-Id: I4c8e85991238492adc3c37aed57c7269f3b41a2c
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/clock.c