aboutsummaryrefslogtreecommitdiff
path: root/module/dvfs/src/mod_dvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/dvfs/src/mod_dvfs.c')
-rw-r--r--module/dvfs/src/mod_dvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/dvfs/src/mod_dvfs.c b/module/dvfs/src/mod_dvfs.c
index 1ad4451b..53868a65 100644
--- a/module/dvfs/src/mod_dvfs.c
+++ b/module/dvfs/src/mod_dvfs.c
@@ -201,7 +201,7 @@ static const struct mod_dvfs_opp *get_opp_for_voltage(
for (opp_idx = 0; opp_idx < ctx->opp_count; opp_idx++) {
opp = &ctx->config->opps[opp_idx];
- if (opp->level != voltage)
+ if (opp->voltage != voltage)
continue;
return opp;