]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAP: powerdomains: Make all powerdomain target states as ON at init
authorRajendra Nayak <rnayak@ti.com>
Fri, 19 Aug 2011 22:59:39 +0000 (16:59 -0600)
committerPaul Walmsley <paul@pwsan.com>
Fri, 19 Aug 2011 22:59:39 +0000 (16:59 -0600)
commitc956b753e706f24d18a026f8efa4df3b1919fcc9
tree9af7a343aa85ccbfc1ea783d808b5f309f174239
parent5ccc38740a283aba81a00e92941310d0c1aeb2ee
OMAP: powerdomains: Make all powerdomain target states as ON at init

Program all powerdomain target state as ON; this is to prevent domains
from hitting low power states (if bootloader has target states set to
something other than ON) and potentially even losing context while PM
is not fully initialized, which can cause the system to crash.  The PM
late init code can then program the desired target state for all the
power domains.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
[paul@pwsan.com: dropped comment typo hunk; fixed comment indent and moved
 to kerneldoc; moved code to pwrdm_init(); changed pwrdm_init() argument name
 to prevent clash; cleaned up patch description]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/powerdomain.c