[PATCH 3/9] lpc2k: clk API

Ithamar R. Adema ithamar.adema at team-embedded.nl
Fri Mar 18 05:44:22 EDT 2011


Hi Kevin,

On Thu, 2011-03-17 at 23:08 +0100, Kevin Wells wrote:
> > +static DEFINE_MUTEX(clocks_mutex);
> 
> I tried this lock mechanism and occasionally I get warnings when mutex
> checking is enabled and multiple calls occur to the clk_* functions
> with active clock management. Spinlocks might be better, but maybe
> some one else can chime in here.

Looking at the other mach-*/clock.c implementations, most seem to agree
on spinlocks. Will change for v2.

Regards,

Ithamar.





More information about the linux-arm-kernel mailing list