Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64584eb9 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM / Runtime: Correct documentation of pm_runtime_irq_safe()



The description of pm_runtime_irq_safe() has to be updated to follow
the code after commit 02b26774 (PM / Runtime: Allow _put_sync() from
interrupts-disabled context).

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Acked-by: default avatarKevin Hilman <khilman@ti.com>
parent 5c3f96b2
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include/linux/pm_runtime.h:


  void pm_runtime_irq_safe(struct device *dev);
  void pm_runtime_irq_safe(struct device *dev);
    - set the power.irq_safe flag for the device, causing the runtime-PM
    - 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
      callbacks to be invoked with interrupts off
      with interrupts disabled


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