aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorTushar Behera <[email protected]>2011-06-21 09:08:59 +0530
committerLiam Girdwood <[email protected]>2011-07-08 19:14:57 +0100
commitdbb48e7c3db4871803fc990864e37917e413ccb2 (patch)
treec639d1f3b883907639c350701c669ddb7443dc53 /lib/cpu-notifier-error-inject.c
parente2cf3137aaa23faf2b8c1335671f1a0a0d90aab5 (diff)
regulator: MAX8997: Fix for divide by zero error
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. Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: MyungJoo Ham <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Samuel Ortiz <[email protected]> Signed-off-by: Tushar Behera <[email protected]> Acked-by: MyungJoo Ham <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions