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

Linus Walleij linus.walleij at linaro.org
Tue Oct 18 08:30:56 EDT 2011


On Tue, Oct 18, 2011 at 2:29 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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.

Ah of course. Sorry for the fuzz!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list