ARM: tegra: dvfs: Construct safe thermal DVFS table
authorAlex Frid <afrid@nvidia.com>
Sat, 28 Sep 2013 01:50:22 +0000 (18:50 -0700)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:52 +0000 (18:47 +0530)
commit880e905a306a8b91c8c52c7dcdc353b2cb6e1a46
tree1c8b95020abc53c34bfb29f550ecdf04bdd43d92
parentdb8e5297009227ef6d806b4abba43c1c8e40b28b
ARM: tegra: dvfs: Construct safe thermal DVFS table

Made sure maximum voltage across all temperature ranges is used for
DVFS in case when scaling cooling device registration failed, or the
device was not binded to thermal zone

Bug 1273253

Change-Id: Iea2ba91db6174ee8e43dafb60f6bfee162ba65da
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/280078
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit e58fbf1ba72f6dd8bdb7b67c2401ffb123562315)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
arch/arm/mach-tegra/dvfs.c