Revision dbb48e7c3db4871803fc990864e37917e413ccb2 authored by Tushar Behera on 21 June 2011, 03:38:59 UTC, committed by Liam Girdwood on 08 July 2011, 18:14:57 UTC
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 <lrg@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
1 parent e2cf313
History
File Mode Size
regulator
00-INDEX -rw-r--r-- 1.3 KB
apm-acpi.txt -rw-r--r-- 1.5 KB
basic-pm-debugging.txt -rw-r--r-- 10.0 KB
devices.txt -rw-r--r-- 31.1 KB
drivers-testing.txt -rw-r--r-- 2.1 KB
freezing-of-tasks.txt -rw-r--r-- 9.6 KB
interface.txt -rw-r--r-- 3.2 KB
notifiers.txt -rw-r--r-- 2.7 KB
opp.txt -rw-r--r-- 14.5 KB
pci.txt -rw-r--r-- 52.2 KB
pm_qos_interface.txt -rw-r--r-- 2.7 KB
power_supply_class.txt -rw-r--r-- 7.7 KB
runtime_pm.txt -rw-r--r-- 36.5 KB
s2ram.txt -rw-r--r-- 3.1 KB
states.txt -rw-r--r-- 3.1 KB
swsusp-and-swap-files.txt -rw-r--r-- 2.7 KB
swsusp-dmcrypt.txt -rw-r--r-- 4.6 KB
swsusp.txt -rw-r--r-- 16.0 KB
tricks.txt -rw-r--r-- 753 bytes
userland-swsusp.txt -rw-r--r-- 8.4 KB
video.txt -rw-r--r-- 8.3 KB
video_extension.txt -rw-r--r-- 1.5 KB

back to top