Thread (46 messages) flat view 46 messages, 5 authors, 2014-02-24

[PATCH 08/17] spi: pl022: Fully gate clocks at request inactivity

From: broonie@kernel.org (Mark Brown)
Date: 2014-02-04 17:08:27
Also in: linux-i2c, linux-mmc, linux-spi, lkml

On Tue, Feb 04, 2014 at 04:58:49PM +0100, Ulf Hansson wrote:
Use clk_disable_unprepare and clk_prepare_enable from the runtime PM
callbacks, to fully gate|ungate clocks. Potentially this will save more
power, depending on the clock tree for the current SOC.
The same patch has already been applied (I noticed and fixed it while
doing unrelated code review).
 	pinctrl_pm_select_default_state(dev);
-	clk_enable(pl022->clk);
+	clk_prepare_enable(pl022->clk);
Someone should really make this check errors though!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140204/c63f5f55/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help