Skip to content
Commit 3fb1581e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Russell King
Browse files

ARM: 8199/1: PM / Runtime: Add getter for querying the IRQ safe option v12



Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime
PM IRQ safe was set or not.

Various bus drivers implementing runtime PM may use choose to suspend
differently based on IRQ safeness status of child driver (e.g. do not
unprepare the clock if IRQ safe is not set).

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarRafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f114040e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment