ARM: OMAP: Force dmtimer restore if context loss is not detectable
authorJon Hunter <jon-hunter@ti.com>
Tue, 19 Mar 2013 17:38:16 +0000 (12:38 -0500)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:21:30 +0000 (00:21 +0200)
commit385c4c7b7c2f6829048d8b041b31f9da10a8202e
tree7bf3d6b2422971c7a7bfd6dee34ba7dd3b1f153f
parent9cc268d5bbc097ae5a3ae236fb2461ea113274bf
ARM: OMAP: Force dmtimer restore if context loss is not detectable

When booting with device-tree the function pointer for detecting context
loss is not populated. Ideally, the pm_runtime framework should be
enhanced to allow a means for reporting context/state loss and we could
avoid populating such function pointers altogether. In the interim until
a generic non-device specific solution is in place, force a restore of
the dmtimer when enabling the timer.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/plat-omap/dmtimer.c