|
@@ -2322,6 +2322,10 @@ static int _regulator_do_set_voltage(struct regulator_dev *rdev,
|
|
|
regulator_list_voltage_linear)
|
|
|
ret = regulator_map_voltage_linear(rdev,
|
|
|
min_uV, max_uV);
|
|
|
+ else if (rdev->desc->ops->list_voltage ==
|
|
|
+ regulator_list_voltage_linear_range)
|
|
|
+ ret = regulator_map_voltage_linear_range(rdev,
|
|
|
+ min_uV, max_uV);
|
|
|
else
|
|
|
ret = regulator_map_voltage_iterate(rdev,
|
|
|
min_uV, max_uV);
|