Skip to content

Commit

Permalink
PM / Runtime: pm_runtime_idle() can be called in atomic context
Browse files Browse the repository at this point in the history
Add to pm_runtime_idle the list of functions that can be called
in atomic context if pm_runtime_irq_safe() has been called for the
device.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Ming Lei authored and Rafael J. Wysocki committed Sep 21, 2011
1 parent 5b1b0b8 commit 2e6ba51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/power/runtime_pm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ pm_runtime_autosuspend_expiration()
If pm_runtime_irq_safe() has been called for a device then the following helper
functions may also be used in interrupt context:

pm_runtime_idle()
pm_runtime_suspend()
pm_runtime_autosuspend()
pm_runtime_resume()
Expand Down

0 comments on commit 2e6ba51

Please sign in to comment.