summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index fd3f6e0..42ae134 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
return ret;
}
+ ret += range->min_sel;
+
break;
}
OpenPOWER on IntegriCloud