Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints

parent 6f0b2c69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}

/**