--- 8d8eea63f607b8f717c1d618cd7eb4d0c1a61403 +++ 16a86dd1c827787cd5454d4de871f612334c6697 @@ -1479,11 +1479,13 @@ void acpuclk_set_vmin(int newvmin) { int i; - if (newvmin >= MIN_VDD_SC && newvmin <= MAX_VDD_SC) { - VMIN = newvmin; - for (i = 0; acpu_freq_tbl[i].speed.khz; i++) - acpu_freq_tbl[i].vdd_core = acpu_freq_tbl[i].vdd_core_save; - kraitv2_apply_vmin(acpu_freq_tbl); + if (krait_needs_vmin()) { + if (newvmin >= MIN_VDD_SC && newvmin <= MAX_VDD_SC) { + VMIN = newvmin; + for (i = 0; acpu_freq_tbl[i].speed.khz; i++) + acpu_freq_tbl[i].vdd_core = acpu_freq_tbl[i].vdd_core_save; + kraitv2_apply_vmin(acpu_freq_tbl); + } } } #endif