summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-11-14 09:48:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-11-17 20:23:36 +0000
commit5670c2a52f60418f67dd589e20d30600804fcfde (patch)
treebd5866f69b59b72adfe7eebadd078ee507fd2987 /samples
parentf560e3229564a673603541ebfb36118d7cd98038 (diff)
ARM: 8201/1: amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM v12
The AMBA bus driver defines runtime Power Management functions which disable and unprepare AMBA bus clock. This is problematic for runtime PM because unpreparing a clock might sleep so it is not interrupt safe. However some drivers may want to implement runtime PM functions in interrupt-safe way (see pm_runtime_irq_safe()). In such case the AMBA bus driver should only disable/enable the clock in runtime suspend and resume callbacks. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions