提交 6c918d22 编写于 作者: M Mark Brown

regulator: core: Ensure selector is mapped

Clearly the testing only covered the bottom range.
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 a56d66a2
...@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev, ...@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
return ret; return ret;
} }
ret += range->min_sel;
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册