ARM: tegra: clock: Use rounded ActMon maximum rate
authorAlex Frid <afrid@nvidia.com>
Sat, 6 Aug 2011 01:56:04 +0000 (18:56 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:07 +0000 (21:48 -0800)
commitf244c8f682f6f8e8186fb79cba4aa92876c2d0c1
treedfdaa2abef5023f45930a913eab1fab2fd25a48c
parent52a59cb4bfbfaf0aaa9dad5dab0d6950c73a77a2
ARM: tegra: clock: Use rounded ActMon maximum rate

Used round rate API to determine maximum frequency of Tegra3 activity
monitoring shared users, instead of maximum rate directly. The former
takes into account available PLL/dividers and return actually
reachable frequency.

Bug 860618

Original-Change-Id: I48292c65bfbf58906ab59f86959b0e7155117558
Reviewed-on: http://git-master/r/45711
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Tested-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R2be5b1549b53d2b203ccfe6ea1d1cd2368359d91
arch/arm/mach-tegra/tegra3_actmon.c