Commit 086ccd43 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6f0b2c69
......@@ -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);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment