regulator: cpr2-gfx: remove target quotient order check

An explicit target quotient values order check is not
needed in the driver as the static target quotient table
is being programmed for GFX CPR controller.

Change-Id: I78545cfba1463ef134146cc51e814de7ed362770
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
This commit is contained in:
Tirupathi Reddy 2015-10-29 16:06:08 +05:30 committed by Gerrit - the friendly Code Review server
parent 9bc83f3edf
commit 87f0b69f0e
1 changed files with 0 additions and 10 deletions

View File

@ -2304,16 +2304,6 @@ static int cpr_init_target_quotients(struct cpr2_gfx_regulator *cpr_vreg)
}
kfree(buf);
for (j = 0; j < cpr_vreg->ro_count; j++) {
for (i = CPR_CORNER_MIN + 1; i <= cpr_vreg->num_corners; i++) {
if (cpr_vreg->cpr_target_quot[i][j]
< cpr_vreg->cpr_target_quot[i - 1][j]) {
cpr_vreg->cpr_fuse_disable = true;
cpr_err(cpr_vreg, "invalid quotient values; permanently disabling CPR\n");
}
}
}
return rc;
}