Skip to contentSkip to conversation

regulator: fan53555: fill set_voltage_time_set callback

PATCH Applied Heiko Stuebner 2 participants 2 messages May 26, 2015 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: fan53555: fill set_voltage_time_set callback

Setting the set_voltage_time_sel callback to the standard function regulator_set_voltage_time_sel enables the regulator to actually honor ramp-delays when during regulator_set_voltage calls.

---
 drivers/regulator/fan53555.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/fan53555.c +1 -0
index 3c25db8..4286568 100644
@@ -182,6 +182,7 @@ static int fan53555_set_ramp(struct regulator_dev *rdev, int ramp)
 static struct regulator_ops fan53555_regulator_ops = {
 	.set_voltage_sel = regulator_set_voltage_sel_regmap,
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
+	.set_voltage_time_sel = regulator_set_voltage_time_sel,
 	.map_voltage = regulator_map_voltage_linear,
 	.list_voltage = regulator_list_voltage_linear,
 	.set_suspend_voltage = fan53555_set_suspend_voltage,
Signature · 1 line
2.1.4
maintainer Applied
#1 lore raw
Quoted 3 lines · Heiko Stuebner

Setting the set_voltage_time_sel callback to the standard function regulator_set_voltage_time_sel enables the regulator to actually honor ramp-delays when during regulator_set_voltage calls.

Applied, thanks.