]> err.no Git - linux-2.6/commit
[ARM] 4731/1: S3C2412: Check for incomplete sleep
authorBen Dooks <ben-linux@fluff.org>
Sun, 23 Dec 2007 02:09:34 +0000 (03:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:50 +0000 (13:20 +0000)
commit332349518f1958b0bc1ae3febc2e4f75f214d255
tree5bbf5aa0c1ab02dbee30fdf46d0043dfc52a5ce3
parent0baada2742a42390a2ebed09e07e1fab518db884
[ARM] 4731/1: S3C2412: Check for incomplete sleep

Check if the sleep command returns due to a pending interrupt
in the standby unit. If this happens, try and ack the IRQ
before re-trying the resume.

It is currently unclear whether the resume can be backed out
of at this stage as this could cause a problem with level
based interrupts.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2412/Makefile
arch/arm/mach-s3c2412/pm.c
arch/arm/mach-s3c2412/sleep.S [new file with mode: 0644]