All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe()
@ 2011-08-24 20:46 Rafael J. Wysocki
  2011-08-24 23:45 ` Kevin Hilman
  2011-08-24 23:45 ` Kevin Hilman
  0 siblings, 2 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2011-08-24 20:46 UTC (permalink / raw)
  To: Linux PM mailing list; +Cc: LKML, Kevin Hilman

From: Rafael J. Wysocki <rjw@sisk.pl>

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>
---
 Documentation/power/runtime_pm.txt |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux/Documentation/power/runtime_pm.txt
===================================================================
--- linux.orig/Documentation/power/runtime_pm.txt
+++ linux/Documentation/power/runtime_pm.txt
@@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include
 
   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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe()
  2011-08-24 20:46 [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe() Rafael J. Wysocki
  2011-08-24 23:45 ` Kevin Hilman
@ 2011-08-24 23:45 ` Kevin Hilman
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-08-24 23:45 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linux PM mailing list, LKML

"Rafael J. Wysocki" <rjw@sisk.pl> writes:

> From: Rafael J. Wysocki <rjw@sisk.pl>
>
> 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).

oops, missed updating that part of the doc.

> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Acked-by: Kevin Hilman <khilman@ti.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe()
  2011-08-24 20:46 [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe() Rafael J. Wysocki
@ 2011-08-24 23:45 ` Kevin Hilman
  2011-08-24 23:45 ` Kevin Hilman
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-08-24 23:45 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linux PM mailing list, LKML

"Rafael J. Wysocki" <rjw@sisk.pl> writes:

> From: Rafael J. Wysocki <rjw@sisk.pl>
>
> 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).

oops, missed updating that part of the doc.

> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Acked-by: Kevin Hilman <khilman@ti.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe()
@ 2011-08-24 20:46 Rafael J. Wysocki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2011-08-24 20:46 UTC (permalink / raw)
  To: Linux PM mailing list; +Cc: LKML

From: Rafael J. Wysocki <rjw@sisk.pl>

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>
---
 Documentation/power/runtime_pm.txt |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux/Documentation/power/runtime_pm.txt
===================================================================
--- linux.orig/Documentation/power/runtime_pm.txt
+++ linux/Documentation/power/runtime_pm.txt
@@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include
 
   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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-24 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 20:46 [PATCH] PM / Runtime: Correct documentation of pm_runtime_irq_safe() Rafael J. Wysocki
2011-08-24 23:45 ` Kevin Hilman
2011-08-24 23:45 ` Kevin Hilman
2011-08-24 20:46 Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.