Skip to content

Commit

Permalink
PM / Runtime: Correct documentation of pm_runtime_irq_safe()
Browse files Browse the repository at this point in the history
The description of pm_runtime_irq_safe() has to be updated to follow
the code after commit 02b2677 (PM / Runtime: Allow _put_sync() from
interrupts-disabled context).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Kevin Hilman <khilman@ti.com>
  • Loading branch information
rjwysocki committed Aug 25, 2011
1 parent 5c3f96b commit 64584eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Documentation/power/runtime_pm.txt
Expand Up @@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include/linux/pm_runtime.h:

void pm_runtime_irq_safe(struct device *dev);
- set the power.irq_safe flag for the device, causing the runtime-PM
suspend and resume callbacks (but not the idle callback) to be invoked
with interrupts disabled
callbacks to be invoked with interrupts off

void pm_runtime_mark_last_busy(struct device *dev);
- set the power.last_busy field to the current time
Expand Down

0 comments on commit 64584eb

Please sign in to comment.