summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm24xx.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2012-01-30 10:47:24 +0100
committerKevin Hilman <khilman@ti.com>2012-03-06 00:38:02 +0100
commite68e8093ed570f9272665112d13d4c5811536680 (patch)
treedb72b5962b7991e0bfba2f0d182b4c13de9be23a /arch/arm/mach-omap2/pm24xx.c
parentARM: OMAP3: PM: remove superfluous calls to pwrdm_clear_all_prev_pwrst() (diff)
downloadlinux-e68e8093ed570f9272665112d13d4c5811536680.tar.xz
linux-e68e8093ed570f9272665112d13d4c5811536680.zip
ARM: OMAP2+: PM: clean up omap_set_pwrdm_state()
Clean up a few different parts of omap_set_pwrdm_state(): - Remove a superfluous call to pwrdm_state_switch(). Not needed unless LOWPOWERSTATECHANGE is used, because the state switch code is called by either clkdm_sleep() or clkdm_allow_idle(). - Add code to wait for the power state transition in the OMAP4+ low power state change. This is speculative, so I would particularly appreciate feedback on this part. - Remove a superfluous call to pwrdm_read_pwrst(). - Update variable names to be more meaningful (hopefully) and precise. - Fix an error path bug that would not place the clockdomain back into hardware-supervised idle or sleep mode if the power state could not be programmed. The documentation for this function still needs major improvements; that's left for a later patch. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com> Tested-by: Tero Kristo <t-kristo@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm24xx.c')
0 files changed, 0 insertions, 0 deletions