Skip to contentSkip to conversation

regulator: bd718x7: Use regulator_map_voltage_ascend for buck5 and buck7

PATCH New Axel Lin 1 participant 1 message Nov 10, 2018

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: bd718x7: Use regulator_map_voltage_ascend for buck5 and buck7

The voltages in bd718xx_3rd_nodvs_buck_volts are in ascendant order, so use regulator_map_voltage_ascend.

---
 drivers/regulator/bd718x7-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/bd718x7-regulator.c +1 -0
index f142f9ce6853..0ae3e03f5433 100644
@@ -131,6 +131,7 @@ static struct regulator_ops bd718xx_buck_regulator_nolinear_ops = {
 	.disable = regulator_disable_regmap,
 	.is_enabled = regulator_is_enabled_regmap,
 	.list_voltage = regulator_list_voltage_table,
+	.map_voltage = regulator_map_voltage_ascend,
 	.set_voltage_sel = bd718xx_set_voltage_sel_restricted,
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
 	.set_voltage_time_sel = regulator_set_voltage_time_sel,
Signature · 1 line
2.17.1