Revert "ARM: tegra: clock: Don't fail clk_enable when max_rate has been lowered"
authorAlex Frid <afrid@nvidia.com>
Sat, 5 May 2012 01:07:08 +0000 (18:07 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 12:28:39 +0000 (17:28 +0530)
commita50cdf7dca53a11413af6bffb1b67120fd6a2f27
tree4ee66a323f2f555aba947088cc7dc775690c5db6
parent651686f3acdb2b3b15ba35c7907870d3f54171d0
Revert "ARM: tegra: clock: Don't fail clk_enable when max_rate has been lowered"

This reverts commit 8d351aa5478de533114e614f2607bc85ed23df91.

The above commit introduced recursive call of clk enable/set rate APIs
that may hang the system.

Change-Id: I04eff9e1c3ddee82f6d2e17690122cc41fad203f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/100710
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/clock.c