]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP3+: voltage: remove initial voltage
authorNishanth Menon <nm@ti.com>
Tue, 26 Apr 2011 09:33:10 +0000 (02:33 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Apr 2011 09:45:35 +0000 (02:45 -0700)
commit4fd584072d66ece958d32502d6e9d98abb802880
tree726811c494e2e0c82c228f6e1b7ebd112ad0a405
parent2691ecdb184594c144acdb6155ea77e02c4fcf92
OMAP3+: voltage: remove initial voltage

Blindly setting 1.2V in the initial structure may not even match the
default voltages stored in the voltage table which are supported for
the domain. For example, OMAP3430 core domain does not use 1.2V and
ends up generating a warning on the first transition.

Further, since omap2_set_init_voltage is called as part of the pm
framework's initialization sequence to configure the voltage required
for the current OPP, the call does(and has to) setup the system
voltage(curr_volt as a result) using the right mechanisms appropriate
for the system at that point of time. This also overrides
initialization we are currently doing in voltage.c making it
redundant. So, remove the wrong and redundant initialization.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/voltage.c