From: Krzysztof Kozlowski Date: Fri, 14 Nov 2014 08:47:25 +0000 (+0100) Subject: ARM: 8199/1: PM / Runtime: Add getter for querying the IRQ safe option v12 X-Git-Tag: omap-for-v3.19/fixes-rc1~105^2~1^3~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fb1581ea1ab0aec6ac5430dc0e257a8c9b71680;p=pandora-kernel.git 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 Reviewed-by: Ulf Hansson Acked-by: Rafael J. Wysocki Signed-off-by: Russell King --- Reading git-diff-tree failed