android_kernel_xiaomi_sm8350/kernel/power
Stefan Seyfried 3592695c36 [PATCH] uswsusp: add pmops->{prepare,enter,finish} support (aka "platform mode")
Add an ioctl to the userspace swsusp code that enables the usage of the
pmops->prepare, pmops->enter and pmops->finish methods (the in-kernel
suspend knows these as "platform method").  These are needed on many
machines to (among others) speed up resuming by letting the BIOS skip some
steps or let my hp nx5000 recognise the correct ac_adapter state after
resume again.

It also ensures on many machines, that changed hardware (unplugged AC
adapters) gets correctly detected and that kacpid does not run wild after
resume.

Signed-off-by: Stefan Seyfried <seife@suse.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:26 -08:00
..
console.c
disk.c [PATCH] swsusp: debugging 2006-11-03 12:27:58 -08:00
Kconfig
main.c
Makefile
pm.c
power.h [PATCH] uswsusp: add pmops->{prepare,enter,finish} support (aka "platform mode") 2006-12-07 08:39:26 -08:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
process.c
snapshot.c
swap.c [PATCH] swsusp: fix memory leaks 2006-10-17 08:18:44 -07:00
swsusp.c
user.c [PATCH] uswsusp: add pmops->{prepare,enter,finish} support (aka "platform mode") 2006-12-07 08:39:26 -08:00