lkml.org 
[lkml]   [2012]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 1/2] regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints
From
Date
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




\
 
 \ /
  Last update: 2012-06-18 08:41    [W:0.060 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site