ARM: tegra: clock: Update parameterized cluster switch
authorAlex Frid <afrid@nvidia.com>
Sun, 26 Feb 2012 08:23:37 +0000 (00:23 -0800)
committerSimone Willett <swillett@nvidia.com>
Tue, 20 Mar 2012 23:40:21 +0000 (16:40 -0700)
commit9323c09c666c0745af1a98fc60a737f72ad3b21e
treedaa5d88cc3f1b2bfd49f5e4e05c700437e0a6d71
parentdd3b612801db7d5c6291ac13d66e1d994221746a
ARM: tegra: clock: Update parameterized cluster switch

Adjusted CPU rate during parametrized (enforced from sysfs) cluster
switch, so that target rate meets min/max constraints on both sides
of the switch. Updated local timer rate accordingly.

Bug 945975

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit c27f5a2e7380cb667f1f6a4ba61daf67c63ef2d4)

Change-Id: I130ec1a32ecaf8adfd7eff1ec2042f569b54ac54
Reviewed-on: http://git-master/r/90805
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/tegra3_clocks.c