ARM: tegra: Clear speedo_id on incorrectly fused Tegra3
Alex Frid [Wed, 25 May 2011 20:34:14 +0000 (13:34 -0700)]
Original-Change-Id: I9a6e29acadae06360d0f2e2e94c049378758840e
Reviewed-on: http://git-master/r/33084
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R43cdc4c1b6475f270de22f348aaf4d3ea5e8db07

arch/arm/mach-tegra/tegra3_speedo.c

index 4dcda7b..afd3701 100644 (file)
@@ -126,6 +126,7 @@ void tegra_init_speedo_data(void)
                pr_err("****************************************************");
 
                cpu_process_id = INVALID_PROCESS_ID;
+               soc_speedo_id = 0;
        }
 
        for (iv = 0; iv < PROCESS_CORNERS_NUM; iv++) {
@@ -144,6 +145,7 @@ void tegra_init_speedo_data(void)
                pr_err("*****************************************************");
 
                core_process_id = INVALID_PROCESS_ID;
+               soc_speedo_id = 0;
        }
 
        pr_debug("%s Soc speedo value %d", __func__, soc_speedo_id);