]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm: tegra: soctherm: fix PDIV corruption
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 13 Feb 2014 02:44:36 +0000 (18:44 -0800)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 13 Feb 2014 07:10:50 +0000 (23:10 -0800)
commitadb4433b1e4b96ecdc2a00bf085d800adf420ee8
tree90a34fc911842ca475b79228d3120b87411b98eb
parentcd5ff00d6f2a6a57894aeac923558fc708fbd9b7
arm: tegra: soctherm: fix PDIV corruption

In the change to adjust on vdd_core vmin, a wrong array index check in
the 'for' loop caused PDIV register to be overwritten with incorrect
values whenever the adjust routine was called. This caused negative
temperatures to show in PLL-therm zone. This also impacts CPU and GPU
temperatures when the rail is below the minimum.

Bug 1363113
Bug 1457777

Change-Id: I67aece5b19821345dcb46e933fabbfe29e98e2cd
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/366841
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/mach-tegra/tegra11_soctherm.c