]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commit4ae7806f8b4bf9a1e74c82f3bd4e91d59bd3d697
tree921c819cfa93d70a3e2c5bad328a20c24e3683b3
parenta88264c24c44924a549f3d596b86d611b7ee9909
[ARM] pxa: Don't wind OSCR backwards over suspend/resume

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>
arch/arm/mach-pxa/time.c