[PATCH] ARM: SAMSUNG: Bug fix spin_lock recursion in clk_enable() and clk_disable()

Ben Dooks ben-linux at fluff.org
Thu Oct 21 18:39:16 EDT 2010


On 19/10/10 19:57, Russell King - ARM Linux wrote:
> On Tue, Oct 19, 2010 at 12:09:25AM +0100, Ben Dooks wrote:
>> I'm not sure, but I don't belive that the clk_ api has
>> ever been callable from non-sleepable contexts such as
>> interrupt handlers.
>>
>> I would welcome RMK's response (or any other response)
>> about this issue?
> 
> We have traditionally allowed it from non-sleepable contexts, mainly
> because the platforms I've been using it with have had such simple
> clock implementations that it's not worth artifically restricting it,
> or the implementation only requires a few us delay after enabling a
> clock.

Some on chip PLLs can be 150-300uS to get running.

-- 
Ben



More information about the linux-arm-kernel mailing list