diff options
author | Heiko Stuebner <heiko@sntech.de> | 2015-05-26 18:19:45 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-26 18:31:32 +0100 |
commit | fda87a4283cf45f33d6a4eae645f6f3238e0e5dd (patch) | |
tree | 3506d3018e357dfa67fb68bd6df15eefc6a41d91 /drivers/regulator | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-fda87a4283cf45f33d6a4eae645f6f3238e0e5dd.tar.gz linux-fda87a4283cf45f33d6a4eae645f6f3238e0e5dd.tar.bz2 linux-fda87a4283cf45f33d6a4eae645f6f3238e0e5dd.zip |
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.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/fan53555.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 3c25db89a021..42865681c00b 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -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, |