From: Ming Lei Date: Wed, 21 Sep 2011 20:31:33 +0000 (+0200) Subject: PM / Runtime: pm_runtime_idle() can be called in atomic context X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e6ba515f50ef7ddf35b2703d014d3216c9b8b24;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git PM / Runtime: pm_runtime_idle() can be called in atomic context 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index 62f37bc3866..1750740b17e 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt @@ -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()