ARM: OMAP3: PM: fix pwrdm_post_transition call sequence
authorCharulatha V <charu@ti.com>
Tue, 13 Sep 2011 13:02:37 +0000 (18:32 +0530)
committerKevin Hilman <khilman@ti.com>
Fri, 7 Oct 2011 20:37:06 +0000 (13:37 -0700)
The context lost count is modified in omap_sram_idle() path when
pwrdm_post_transition() is called. But pwrdm_post_transition() is called
only after omap_gpio_resume_after_idle() is called. Correct this so that
context lost count is modified before calling omap_gpio_resume_after_idle().

This would be useful when OMAP GPIO save/restore context is called by
the OMAP GPIO driver itself.

Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found