]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8199/1: PM / Runtime: Add getter for querying the IRQ safe option v12
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 14 Nov 2014 08:47:25 +0000 (09:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Nov 2014 20:23:34 +0000 (20:23 +0000)
commitfced569df90ef2dbec8dc577cb011fe46ef23fb5
tree6af43faea7b2cbe61d4aefe54a1b3ebe34204d7f
parentcf707b7b48540e4559958bc7587fb506b5c80cc1
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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/power/runtime_pm.txt
include/linux/pm_runtime.h