regulator: fan53555: fill set_voltage_time_set callback
authorHeiko Stuebner <heiko@sntech.de>
Tue, 26 May 2015 16:19:45 +0000 (18:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 May 2015 17:31:32 +0000 (18:31 +0100)
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.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c

index 3c25db89a021af927f183b9f363b270b76e691c4..42865681c00bfb18df9bc5085a0b84f6fd8a0851 100644 (file)
@@ -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,
This page took 0.0463 seconds and 5 git commands to generate.