[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Locking in the clk API
On Thu, Jan 20, 2011 at 11:16:04PM -0800, Saravana Kannan wrote:
> This suggestion looked promising till I realized that clk_set_rate()
> will still be atomic. clk_set_rate() will need to enable/disable the
> PLLs depending on which PLLs the rates are derived from. So, the locking
> in clk_prepare/unprepare() still has to be atomic since the "slow stuff"
> is shared with clk_set_rate().

Who calls clk_set_rate() from an atomic context? Do we know whether
anyone does?

 \ /
  Last update: 2011-01-21 10:43    [W:0.244 / U:22.748 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site