summaryrefslogtreecommitdiff
path: root/Documentation/power/notifiers.txt
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-05-13 12:00:03 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-13 23:58:43 (GMT)
commit6bc08ed02385378d8c84410fb407fe5640834350 (patch)
tree012f22bb07ca66ab621716b67ddbeb3527095c94 /Documentation/power/notifiers.txt
parent86fd03d1607525af3926ff0a299b16c51fa4221b (diff)
downloadlinux-fsl-qoriq-6bc08ed02385378d8c84410fb407fe5640834350.tar.xz
PM / hibernate: Correct documentation
Correct the meaning of PM_HIBERNATION_PREPARE in the docs. References: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power/notifiers.txt')
-rw-r--r--Documentation/power/notifiers.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/power/notifiers.txt b/Documentation/power/notifiers.txt
index c2a4a34..a81fa25 100644
--- a/Documentation/power/notifiers.txt
+++ b/Documentation/power/notifiers.txt
@@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for this purpose.
The subsystems or drivers having such needs can register suspend notifiers that
will be called upon the following events by the PM core:
-PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, tasks will
- be frozen immediately.
+PM_HIBERNATION_PREPARE The system is going to hibernate, tasks will be frozen
+ immediately. This is different from PM_SUSPEND_PREPARE
+ below because here we do additional work between notifiers
+ and drivers freezing.
PM_POST_HIBERNATION The system memory state has been restored from a
hibernation image or an error occurred during