public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: fan53555: fill set_voltage_time_set callback
@ 2015-05-26 16:19 Heiko Stuebner
  2015-05-26 17:31 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Stuebner @ 2015-05-26 16:19 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-kernel

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>
---
 drivers/regulator/fan53555.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 3c25db8..4286568 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,
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] regulator: fan53555: fill set_voltage_time_set callback
  2015-05-26 16:19 [PATCH] regulator: fan53555: fill set_voltage_time_set callback Heiko Stuebner
@ 2015-05-26 17:31 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-05-26 17:31 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Tue, May 26, 2015 at 06:19:45PM +0200, Heiko Stuebner wrote:
> 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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-26 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-26 16:19 [PATCH] regulator: fan53555: fill set_voltage_time_set callback Heiko Stuebner
2015-05-26 17:31 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox