diff options
Diffstat (limited to 'Documentation/power/runtime_pm.txt')
-rw-r--r-- | Documentation/power/runtime_pm.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index 5f96daf8566a..054893e093c0 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt | |||
@@ -648,15 +648,17 @@ The PM core does its best to reduce the probability of race conditions between | |||
648 | the runtime PM and system suspend/resume (and hibernation) callbacks by carrying | 648 | the runtime PM and system suspend/resume (and hibernation) callbacks by carrying |
649 | out the following operations: | 649 | out the following operations: |
650 | 650 | ||
651 | * During system suspend it calls pm_runtime_get_noresume() and | 651 | * During system suspend pm_runtime_get_noresume() is called for every device |
652 | pm_runtime_barrier() for every device right before executing the | 652 | right before executing the subsystem-level .prepare() callback for it and |
653 | subsystem-level .suspend() callback for it. In addition to that it calls | 653 | pm_runtime_barrier() is called for every device right before executing the |
654 | __pm_runtime_disable() with 'false' as the second argument for every device | 654 | subsystem-level .suspend() callback for it. In addition to that the PM core |
655 | right before executing the subsystem-level .suspend_late() callback for it. | 655 | calls __pm_runtime_disable() with 'false' as the second argument for every |
656 | 656 | device right before executing the subsystem-level .suspend_late() callback | |
657 | * During system resume it calls pm_runtime_enable() and pm_runtime_put() | 657 | for it. |
658 | for every device right after executing the subsystem-level .resume_early() | 658 | |
659 | callback and right after executing the subsystem-level .resume() callback | 659 | * During system resume pm_runtime_enable() and pm_runtime_put() are called for |
660 | every device right after executing the subsystem-level .resume_early() | ||
661 | callback and right after executing the subsystem-level .complete() callback | ||
660 | for it, respectively. | 662 | for it, respectively. |
661 | 663 | ||
662 | 7. Generic subsystem callbacks | 664 | 7. Generic subsystem callbacks |