From: Charulatha V Date: Tue, 13 Sep 2011 13:02:37 +0000 (+0530) Subject: ARM: OMAP3: PM: fix pwrdm_post_transition call sequence X-Git-Tag: v3.2-rc1~1^2~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2f8e5ffb23de6e2284f31651447cb80a4c9d1b;p=pandora-kernel.git ARM: OMAP3: PM: fix pwrdm_post_transition call sequence 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 Reviewed-by: Santosh Shilimkar Acked-by: Tony Lindgren Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed