Messages in this thread | | | Date | Tue, 21 Jun 2011 11:08:40 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: MAX8997: Fix for divide by zero error |
| |
On Tue, Jun 21, 2011 at 09:08:59AM +0530, Tushar Behera wrote: > Currently, ramp_delay variable is used uninitialzed in > max8997_set_voltage_ldobuck which gets called through > regulator_register calls.
> To fix the problem, in max8997_pmic_probe, ramp_delay initialization > code is moved before calls to regulator_register.
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| |