ARM: Tegra: dvfs: pick speedo_id = 1 if speedo_value < min
Diwakar Tundlam [Thu, 11 Aug 2011 07:38:23 +0000 (00:38 -0700)]
Bug 860231

Reviewed-on: http://git-master/r/46599
(cherry picked from commit 3a85d02f0d61f8d94b864716ce7f3f12e78d62a0)

Change-Id: I73d61b766bfa885ebcacbe9f2facd8fc64635903
Reviewed-on: http://git-master/r/62771
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R08596750b3d68357c435f690fb08c884d4da8650

arch/arm/mach-tegra/tegra3_speedo.c

index 75e94c8..cac288a 100644 (file)
@@ -253,7 +253,7 @@ void tegra_init_speedo_data(void)
                pr_err("****************************************************");
 
                cpu_process_id = INVALID_PROCESS_ID;
-               cpu_speedo_id = 0;
+               cpu_speedo_id = 1;
        }
 
        for (iv = 0; iv < CORE_PROCESS_CORNERS_NUM; iv++) {
@@ -273,7 +273,7 @@ void tegra_init_speedo_data(void)
                pr_err("****************************************************");
 
                core_process_id = INVALID_PROCESS_ID;
-               soc_speedo_id = 0;
+               soc_speedo_id = 1;
        }
 
        pr_info("Tegra3: CPU Speedo ID %d, Soc Speedo ID %d",