regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
6f0b2c696c
Коммит
086ccd4379
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче