public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints
@ 2012-06-18  5:59 Axel Lin
  2012-06-18  6:03 ` [PATCH 2/2] regulator: core: Change the unit of ramp_delay from mV/uS to uV/uS Axel Lin
  2012-06-18  9:44 ` [PATCH 1/2] regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2012-06-18  5:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Yadwinder Singh Brar, Liam Girdwood, Mark Brown

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/regulator/of_regulator.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c
index e2a7310..68dc3d4 100644
--- a/drivers/regulator/of_regulator.c
+++ b/drivers/regulator/of_regulator.c
@@ -63,7 +63,7 @@ static void of_get_regulation_constraints(struct device_node *np,
 
 	ramp_delay = of_get_property(np, "regulator-ramp-delay", NULL);
 	if (ramp_delay)
-		constraints->min_uV = be32_to_cpu(*ramp_delay);
+		constraints->ramp_delay = be32_to_cpu(*ramp_delay);
 }
 
 /**
-- 
1.7.9.5




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

end of thread, other threads:[~2012-06-18  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  5:59 [PATCH 1/2] regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints Axel Lin
2012-06-18  6:03 ` [PATCH 2/2] regulator: core: Change the unit of ramp_delay from mV/uS to uV/uS Axel Lin
2012-06-18  9:50   ` Mark Brown
2012-06-18  9:44 ` [PATCH 1/2] regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints Mark Brown

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