linux/arch/arm/plat-s3c
Ben Dooks fff94cd9f5 [ARM] S3C: Tidy sleep code path to fix call flow
As noted by Russell King, the sleep code path is not
elegant and makes use of leaving items on the stack
between calls.

Change the code that does the following:

        if (s3c_cpu_save(regs_save) == 0) {
                flush_cache_all();
                S3C_PMDBG("preparing to sleep\n");
                pm_cpu_sleep();
        }

to simply call s3c_cpu_save, and let that do the
necessary calls to quiesce and sleep the system.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-03-10 11:48:07 +00:00
..
include [ARM] S3C: Tidy sleep code path to fix call flow 2009-03-10 11:48:07 +00:00
clock.c
dev-fb.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
dev-hsmmc1.c
dev-hsmmc.c
dev-i2c0.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
dev-i2c1.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
gpio-config.c
gpio.c
init.c
Kconfig
Makefile [ARM] S3C: Split the resume memory check code from pm.c 2009-03-08 12:33:39 +00:00
pm-check.c [ARM] S3C: Do not kmalloc/kfree during inner suspend code. 2009-03-08 13:19:54 +00:00
pm.c [ARM] S3C: Tidy sleep code path to fix call flow 2009-03-10 11:48:07 +00:00
pwm-clock.c
time.c