mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
953a4840dd
The old platform suspend_again callback overrides drivers' votes, such that if it implemented and returns false, then we do not call the partialresume handlers. When it doesn't exists or returns true, then we also query the registered drivers for consensus. When a device resumes from suspend, the suspend/resume code invokes partialresume to check to see if the set of wakeup interrupts all have matching handlers. If this is not the case, the PM subsystem can continue to resume as before. If all of the wakeup sources have matching handlers, then those are invoked in turn (and can block), and if all of them reach consensus that the reason for the wakeup can be ignored, they say so to the PM subsystem, which goes right back into suspend. Signed-off-by: Iliyan Malchev <malchev@google.com> Change-Id: Iaeb9ed78c4b5fb815c6e9c701233e703f481f962 |
||
---|---|---|
.. | ||
autosleep.c | ||
block_io.c | ||
console.c | ||
consoleearlysuspend.c | ||
earlysuspend.c | ||
fbearlysuspend.c | ||
hibernate.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
partialresume.c | ||
power.h | ||
poweroff.c | ||
process.c | ||
qos.c | ||
snapshot.c | ||
suspend.c | ||
suspend_test.c | ||
suspend_time.c | ||
swap.c | ||
user.c | ||
userwakelock.c | ||
wakelock.c | ||
wakeup_reason.c |