linux-sg2042/arch/arm/mach-at91
Rafael J. Wysocki c697eecebc Suspend: Introduce begin() and end() callbacks
On ACPI systems the target state set by acpi_pm_set_target() is
reset by acpi_pm_finish(), but that need not be called if the
suspend fails.  All platforms that use the .set_target() global
suspend callback are affected by analogous issues.

For this reason, we need an additional global suspend callback that
will reset the target state regardless of whether or not the suspend
is successful.  Also, it is reasonable to rename the .set_target()
callback, since it will be used for a different purpose on ACPI
systems (due to ACPI 1.0x code ordering requirements).

Introduce the global suspend callback .end() to be executed at the
end of the suspend sequence and rename the .set_target() global
suspend callback to .begin().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 18:30:56 -05:00
..
Kconfig [ARM] 4765/1: [AT91] AT91CAP9A-DK board support 2008-01-26 15:01:14 +00:00
Makefile [ARM] 4765/1: [AT91] AT91CAP9A-DK board support 2008-01-26 15:01:14 +00:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91cap9.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91cap9_devices.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91rm9200.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91rm9200_devices.c [ARM] 4760/1: [AT91] SPI CS0 errata on AT91RM9200 2008-01-26 15:00:32 +00:00
at91rm9200_time.c [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
at91sam9rl.c [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors. 2007-05-11 21:07:54 +01:00
at91sam9rl_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91sam926x_time.c Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
at91sam9260.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9260_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91sam9261.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9261_devices.c [ARM] 4738/1: at91sam9261: Remove udc pullup enabling in board initialisation 2008-01-26 15:00:33 +00:00
at91sam9263.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9263_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91x40.c [ARM] 4534/1: AT91x40 interrupt support 2007-10-12 23:43:05 +01:00
at91x40_time.c [ARM] 4533/1: AT91x40 timer support 2007-10-12 23:43:04 +01:00
board-1arm.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
board-cap9adk.c [ARM] 4765/1: [AT91] AT91CAP9A-DK board support 2008-01-26 15:01:14 +00:00
board-carmeva.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-csb337.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-csb637.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-dk.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-eb01.c [ARM] 4538/1: Atmel EB01 board support 2007-10-12 23:43:07 +01:00
board-eb9200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-ek.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-kafa.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-kb9202.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-picotux200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9rlek.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9260ek.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9261ek.c [ARM] 4615/4: sam926[13]ek buttons updated 2008-01-27 17:54:16 +00:00
board-sam9263ek.c [ARM] 4615/4: sam926[13]ek buttons updated 2008-01-27 17:54:16 +00:00
clock.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
gpio.c [ARM] 4602/3: AT91: debugfs interface to view GPIO pin state 2008-01-26 15:00:30 +00:00
irq.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
leds.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
pm.c Suspend: Introduce begin() and end() callbacks 2008-02-01 18:30:56 -05:00