ARM: tegra11: dvfs: Bound CL-DVFS safe voltage setting
authorAlex Frid <afrid@nvidia.com>
Wed, 24 Oct 2012 04:37:02 +0000 (21:37 -0700)
committerSimone Willett <swillett@nvidia.com>
Wed, 31 Oct 2012 20:17:35 +0000 (13:17 -0700)
commit86bb737eed39f16ddea40d9aae51379d3b227e36
tree2062a0ace02b404ff42d21a5dbe18bb4b4f466fc
parent052bffe3f75579fe309d96d1ccc805110a2328e3
ARM: tegra11: dvfs: Bound CL-DVFS safe voltage setting

Removed global CL-DVFS non-zero safe output floor imposed on voltage
calculations by commit af5ba3026ce0d4a6908e7006cab99f2edcabf920.

Instead made sure that safe voltage value when switching from open
to closed loop is at least one step above minimum and one step below
maximum (required to provide initial room for closed loop regulation).

Bug 1157439

Change-Id: I5739d0f62ada92d24b0f5230f4cd4368062f0c87
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/147352
(cherry picked from commit 550be6c793f522bb996e311c7da3ff92cf0f88ac)
Reviewed-on: http://git-master/r/159643
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/tegra_cl_dvfs.c