[ARM] pxa: Don't wind OSCR backwards over suspend/resume
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 12 Nov 2007 22:48:12 +0000 (22:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:51 +0000 (15:07 +0000)
OSCR is supposed to monotonically increment; however restoring it
to a time prior to OSMR0 may result in it being wound backwards.
Instead, if OSMR0 is within the minimum expiry time, wind OSMR0
forwards.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found