projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0b2c6
)
regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints
author
Axel Lin
<axel.lin@gmail.com>
Mon, 18 Jun 2012 05:59:02 +0000
(13:59 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 18 Jun 2012 09:46:57 +0000
(10:46 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/of_regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/of_regulator.c
b/drivers/regulator/of_regulator.c
index
e2a7310
..
68dc3d4
100644
(file)
--- 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);
}
/**