ARM: OMAP3: PM: call pre/post transition per powerdomain
authorKevin Hilman <khilman@ti.com>
Fri, 11 May 2012 22:47:17 +0000 (15:47 -0700)
committerKevin Hilman <khilman@ti.com>
Mon, 25 Jun 2012 18:24:23 +0000 (11:24 -0700)
commit58f0829b7186150318c79515f0e0850c5e7a9c89
treeb14c33709efb9b21e05e92367bb18665b322aba8
parente055548953355b6e69c56f9e54388845b29b4e97
ARM: OMAP3: PM: call pre/post transition per powerdomain

We only need to call the pre/post transtion methods when we know the
power state is changing.  First, split up the pre/post transition
calls to be per-powerdomain, and then make them conditional on whether
the power domain is actually changing states.

Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/pm34xx.c