android_kernel_oneplus_msm8998/kernel/power
Lianwei Wang a2d978c2ad UPSTREAM: PM / sleep: make PM notifiers called symmetrically
(cherry picked from commit ea00f4f4f00cc2bc3b63ad512a4e6df3b20832b9)

This makes pm notifier PREPARE/POST symmetrical: if PREPARE
fails, we will only undo what ever happened on PREPARE.

It fixes the unbalanced CPU hotplug enable in CPU PM notifier.

Change-Id: I01dce3cc95c5d6b8913b7b6be301f2909258c745
Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-04-10 17:12:04 -07:00
..
autosleep.c PM / Sleep: avoid 'autosleep' in shutdown progress 2013-07-15 01:31:37 +02:00
console.c arm, pm, vmpressure: add missing slab.h includes 2014-02-03 13:24:01 -05:00
hibernate.c UPSTREAM: PM / sleep: make PM notifiers called symmetrically 2017-04-10 17:12:04 -07:00
Kconfig PM / suspend: Add dependency on RTC_LIB 2016-03-03 10:39:10 -08:00
main.c UPSTREAM: PM / sleep: make PM notifiers called symmetrically 2017-04-10 17:12:04 -07:00
Makefile Power: add an API to log wakeup reasons 2016-02-16 13:53:35 -08:00
power.h UPSTREAM: PM / sleep: make PM notifiers called symmetrically 2017-04-10 17:12:04 -07:00
poweroff.c
process.c Make suspend abort reason logging depend on CONFIG_PM_SLEEP 2016-02-16 13:53:39 -08:00
qos.c PM / QoS: Add debugfs support to view the list of constraints 2015-01-23 22:16:21 +01:00
snapshot.c PM / hibernate: Fix rtree_next_node() to avoid walking off list ends 2016-09-30 10:18:39 +02:00
suspend.c UPSTREAM: PM / sleep: make PM notifiers called symmetrically 2017-04-10 17:12:04 -07:00
suspend_test.c PM / sleep: fix device reference leak in test_suspend 2016-11-26 09:54:53 +01:00
swap.c mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM 2015-11-06 17:50:42 -08:00
user.c UPSTREAM: PM / sleep: make PM notifiers called symmetrically 2017-04-10 17:12:04 -07:00
wakelock.c PM / autosleep: Use workqueue for user space wakeup sources garbage collector 2015-07-14 21:04:48 +02:00
wakeup_reason.c wakeup_reason: use vsnprintf instead of snsprintf for vargs. 2016-02-16 13:53:42 -08:00