regulator: core: Ensure selector is mapped
Mark Brown
maintainerPATCH 1/1 regulator: core: Ensure selector is mapped
From: Mark Brown <[email protected]>
Clearly the testing only covered the bottom range.
Signed-off-by Mark Brown <[email protected]>
--- drivers/regulator/core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/regulator/core.c +2 -0
@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev,return ret; } + ret += range->min_sel; +break ; }
Signature · 1 line
1.8.3.2