OMAP3: PM: move context-loss counting into OMAP PM
commit5e5c96479a07db38767c1a16e4127e3a5476ad50
authorRajendra Nayak <rnayak@ti.com>
Wed, 8 Jul 2009 17:25:37 +0000 (8 10:25 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:21:51 +0000 (23 11:21 -0700)
tree4338da696901019011563c2dd99b1dfd004a5f60
parent117c34484db335bc46e089628614dabd7a15c197
OMAP3: PM: move context-loss counting into OMAP PM

Drop get_last_off_on_transaction_id() and move functionality
into OMAP PM layer.

For SRF, use omapdev** to get powerdomain state counte
for NOOP, use an increasing counter to ensure context is always restord.

**NOTE: in future PM branch, this omapdev functinality will be replaced
        by omap_hwmod.  Thus, context loss counting will only exist
        for modules with omap_hwmod implementations.

Cc: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm.c
arch/arm/plat-omap/omap-pm-noop.c
arch/arm/plat-omap/omap-pm-srf.c