From: Ziggy Date: Wed, 2 Jan 2013 21:47:03 +0000 (-0500) Subject: Fix vmin so it doesn't keep over-volting certain frequencies X-Git-Url: https://ziggy471.com/git/gitweb.cgi?p=ziggy471-sgs3-jb.git;a=commitdiff;h=ed679e9daca201f7974416eac4d47846828dc05a Fix vmin so it doesn't keep over-volting certain frequencies --- --- a/arch/arm/mach-msm/acpuclock-8960.c +++ b/arch/arm/mach-msm/acpuclock-8960.c @@ -10,6 +10,7 @@ * GNU General Public License for more details. */ +#define ZVMIN 900000 #define pr_fmt(fmt) "%s: " fmt, __func__ #include @@ -1665,8 +1666,8 @@ 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 < 1150000) - tbl->vdd_core = 1150000; + if (tbl->vdd_core < ZVMIN) + tbl->vdd_core = ZVMIN; } #ifdef CONFIG_SEC_L1_DCACHE_PANIC_CHK