linux-stable/arch/powerpc/platforms/52xx
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
..
efika.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00
Kconfig [POWERPC] mpc52xx: clean up Kconfig 2008-01-26 14:06:01 -07:00
lite5200.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00
lite5200_pm.c Suspend: Introduce begin() and end() callbacks 2008-02-01 18:30:56 -05:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
Makefile [POWERPC] mpc5200: Add generic support for simple MPC5200 based boards 2008-01-18 20:57:09 -07:00
mpc52xx_common.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00
mpc52xx_pci.c [POWERPC] mpc5200: normalize compatible property bindings 2008-01-26 15:26:01 -07:00
mpc52xx_pic.c [POWERPC] mpc5200: normalize compatible property bindings 2008-01-26 15:26:01 -07:00
mpc52xx_pic.h [POWERPC] Separate IRQ config / register set from main header 2006-12-04 20:41:41 +11:00
mpc52xx_pm.c [POWERPC] mpc5200: normalize compatible property bindings 2008-01-26 15:26:01 -07:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
mpc5200_simple.c [POWERPC] Add common clock setting routine mpc52xx_psc_set_clkdiv() 2008-01-26 15:32:18 -07:00