commit | ea00f4f4f00cc2bc3b63ad512a4e6df3b20832b9 | [log] [tgz] |
---|---|---|
author | Lianwei Wang <lianwei.wang@gmail.com> | Sun Jun 19 23:52:27 2016 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jun 28 00:38:55 2016 +0200 |
tree | 148dbab1f94bc7dd515c6ddda12f85bae310dd4f | |
parent | ca5f2b4c4fb7bb7397317ee2ead83485aa295a3e [diff] |
PM / sleep: make PM notifiers called symmetrically 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. Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>