mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
4e0c8780cc
Partial resume refers to the concept of not waking up userspace when the kernel comes out of suspend for certain types of events that we wish to discard. An example is a network packet that can be disacarded in the kernel, or spurious wakeup event that we wish to ignore. Partial resume allows drivers to register callbacks, one one hand, and provides hooks into the PM's suspend/resume mechanism, on the other. When a device resumes from suspend, the core 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. This latter support is implemented in a separate change. Signed-off-by: Iliyan Malchev <malchev@google.com> Change-Id: Id50940bb22a550b413412264508d259f7121d442
18 lines
549 B
Makefile
18 lines
549 B
Makefile
|
|
ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
|
|
|
|
obj-y += qos.o
|
|
obj-$(CONFIG_PM) += main.o
|
|
obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o
|
|
obj-$(CONFIG_FREEZER) += process.o
|
|
obj-$(CONFIG_SUSPEND) += suspend.o
|
|
obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
|
|
obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o \
|
|
block_io.o
|
|
obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o
|
|
obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
|
|
|
|
obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
|
|
|
|
obj-$(CONFIG_SUSPEND) += wakeup_reason.o
|
|
obj-$(CONFIG_PARTIALRESUME) += partialresume.o
|