lkml.org 
[lkml]   [2011]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Locking in the clk API
From
Date
Hi all,

Based on the discussion from this thread, my plan is to:

* Change the 'common struct clk' patches to only use a spinlock for locking.
This means that clk_{en,dis}able will acquire a per-clk spinlock (for enable
counts), and be callable from atomic contexts.

* Rework the initial docs (posted in the first mail of this thread) to
illustrate the new locking requirements.

* Request input from the platforms that require clk_enable (etc) to sleep,
about how we can merge the two implementations.

Russell - is this OK?

Cheers,


Jeremy


\
 
 \ /
  Last update: 2011-01-17 02:31    [W:0.058 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site