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

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Oct 19 14:57:51 EDT 2010


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.



More information about the linux-arm-kernel mailing list