2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/arch/arm/mach-s3c2416
Russell King 29cb3cd208 ARM: pm: allow suspend finisher to return error codes
There are SoCs where attempting to enter a low power state is ignored,
and the CPU continues executing instructions with all state preserved.
It is over-complex at that point to disable the MMU just to call the
resume path.

Instead, allow the suspend finisher to return error codes to abort
suspend in this circumstance, where the cpu_suspend internals will then
unwind the saved state on the stack.  Also omit the tlb flush as no
changes to the page tables will have happened.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-07-02 09:54:01 +01:00
..
clock.c ARM: S3C24XX: Add address map and clock definitions for HSMMC0 2011-01-06 14:09:18 +09:00
irq.c ARM / Samsung: Use struct syscore_ops for "core" power management 2011-04-24 19:16:10 +02:00
Kconfig ARM: S3C2416: Add platform helpers for setup SDHCI 2011-01-06 14:09:18 +09:00
mach-smdk2416.c ARM: S3C2416: Add support for USB 2.0 High-Speed gadget controller 2011-05-10 14:16:54 -07:00
Makefile ARM: S3C2416: Add platform helpers for setup SDHCI 2011-01-06 14:09:18 +09:00
pm.c ARM: pm: allow suspend finisher to return error codes 2011-07-02 09:54:01 +01:00
s3c2416.c ARM / Samsung: Use struct syscore_ops for "core" power management 2011-04-24 19:16:10 +02:00
setup-sdhci-gpio.c ARM: S3C2416: Add platform helpers for setup SDHCI 2011-01-06 14:09:18 +09:00
setup-sdhci.c ARM: S3C2416: Add platform helpers for setup SDHCI 2011-01-06 14:09:18 +09:00