regulator: cprh-kbss-regulator: fix interpolation for highest fuse corner
Currently, open-loop voltage interpolation is skipped for corners mapping to the highest fused corner thus resulting in incorrect open-loop voltages when open-loop interpolation is enabled. Fix this. Change-Id: Iab5a2dadfec45efb08b9c45f956e9f102d2d2c55 CRs-Fixed: 1001350 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
This commit is contained in:
parent
8bc5414b74
commit
c413bcb70a
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ static int cprh_msmcobalt_kbss_calculate_open_loop_voltages(
|
|||
vreg->corner[i].open_loop_volt = fuse_volt[0];
|
||||
|
||||
/* Interpolate voltages for the higher fuse corners. */
|
||||
for (i = 1; i < vreg->fuse_corner_count - 1; i++) {
|
||||
for (i = 1; i < vreg->fuse_corner_count; i++) {
|
||||
freq_low = vreg->corner[fmax_corner[i - 1]].proc_freq;
|
||||
volt_low = fuse_volt[i - 1];
|
||||
freq_high = vreg->corner[fmax_corner[i]].proc_freq;
|
||||
|
|
Loading…
Add table
Reference in a new issue