Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2446,6 +2446,8 @@ int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
				return ret;
		}

		ret += range->min_sel;

		break;
	}