]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra: soctherm: correct tsample_ate value
authorDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 17 Apr 2014 01:40:32 +0000 (18:40 -0700)
committerMandar Padmawar <mpadmawar@nvidia.com>
Wed, 23 Apr 2014 14:51:56 +0000 (07:51 -0700)
For T124, the tsample rate was changed to 479 in ATE which means the
SW should use the value 480, not 481. Same applies to T132.

Bug 1291108
Bug 1429685

Change-Id: Ie6579aa849f58d54a6a5cff5c175d107b6ef1e65
Reviewed-on: http://git-master/r/397472
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/399255
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
arch/arm/mach-tegra/tegra11_soctherm.c

index c898d55e0d02f8e88028ca853a68b3fe9016a46e..09a7657a1483152e3fade9155572bd8b3f4074b9 100644 (file)
@@ -699,13 +699,13 @@ static const struct soctherm_sensor default_t14x_sensor_params = {
        .pdiv_ate  = 8,
 };
 
-/* TODO: not the final sensor data for T124 */
+/* Used for T124 and T132 */
 static const struct soctherm_sensor default_t12x_sensor_params = {
        .tall      = 16300,
        .tiddq     = 1,
        .ten_count = 1,
        .tsample   = 120,
-       .tsamp_ate = 481,
+       .tsamp_ate = 480,
        .pdiv      = 8,
        .pdiv_ate  = 8,
 };