Commit 6c918d22 authored by Mark Brown's avatar Mark Brown

regulator: core: Ensure selector is mapped

Clearly the testing only covered the bottom range.
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent a56d66a2
......@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
return ret;
}
ret += range->min_sel;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment