ARM: 7916/1: amba: Add clk_prepare|unprepare in runtime PM callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 9 Dec 2013 09:40:22 +0000 (10:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Dec 2013 20:25:20 +0000 (20:25 +0000)
commit5303c0f46c8708fff4148ebcc491f78710356952
tree1f0985780bba393615053c6dcc80cebdf7de1bb5
parent89a5c985f81a0b60f7522044938f76caf28075a6
ARM: 7916/1: amba: Add clk_prepare|unprepare in runtime PM callbacks

To fully gate the clock and thus potentially also save more power in
runtime suspend state, extend clock handling with clk_prepare|unprepare
in the runtime PM callbacks.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/amba/bus.c