Skip to contentSkip to conversation

PM / Runtime: pm_runtime_idle can be called in atomic context

PATCH New [email protected] 1 participant 1 message Sep 8, 2011 Suspend to RAM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PM / Runtime: pm_runtime_idle can be called in atomic context

From: Ming Lei <[email protected]>

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.

---
 Documentation/power/runtime_pm.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Documentation/power/runtime_pm.txt +1 -0
index 08d70e4..1f05404 100644
@@ -477,6 +477,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()
Signature · 1 line
1.7.4.1