[PATCH] amba: be more careful in runtime_suspend/resume

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Oct 18 08:29:39 EDT 2011


On Tue, Oct 18, 2011 at 02:24:50PM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
> 
> This checks that a valid pclk actually was retrieved before
> trying to disable/enable it in the runtime PM hooks on the
> PrimeCell bus.

This isn't necessary - we only enable runtime-pm after the pclk has been
obtained and enabled, and disable runtime-pm before we release the pclk.
So pclk should always be valid here.



More information about the linux-arm-kernel mailing list