From: Ziggy Date: Sat, 26 Jan 2013 21:22:15 +0000 (-0500) Subject: Re-enable krait_needs_vmin and use default min voltage X-Git-Url: https://www.ziggy471.com/git/gitweb.cgi?p=ziggy471-sgs3-jb.git;a=commitdiff;h=c8acd9ee798f110f24b50eddf04e3a5483736bbc Re-enable krait_needs_vmin and use default min voltage Signed-off-by: Ziggy --- --- a/arch/arm/mach-msm/acpuclock-8960.c +++ b/arch/arm/mach-msm/acpuclock-8960.c @@ -1275,7 +1275,6 @@ static struct notifier_block __cpuinitda .notifier_call = acpuclock_cpu_callback, }; -#if 0 static const int krait_needs_vmin(void) { switch (read_cpuid_id()) { @@ -1291,10 +1290,9 @@ static const int krait_needs_vmin(void) static void kraitv2_apply_vmin(struct acpu_level *tbl) { for (; tbl->speed.khz != 0; tbl++) - if (tbl->vdd_core < MIN_VDD_SC) - tbl->vdd_core = MIN_VDD_SC; + if (tbl->vdd_core < 1150000) + tbl->vdd_core = 1150000; } -#endif #ifdef CONFIG_SEC_L1_DCACHE_PANIC_CHK uint32_t global_sec_pvs_value; @@ -1393,10 +1391,8 @@ static struct acpu_level * __init select } else { BUG(); } -#if 0 if (krait_needs_vmin()) kraitv2_apply_vmin(acpu_freq_tbl); -#endif /* Find the max supported scaling frequency. */ for (l = acpu_freq_tbl; l->speed.khz != 0; l++)