lkml.org 
[lkml]   [2011]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC, PATCH 3/3] clk: add warnings for incorrect enable/prepare semantics
Date
Hi Richard,

> > void clk_unprepare(struct clk *clk)
> > {
> >
> > + WARN_ON(clk->enable_count != 0);
> > +
>
> Other drivers may be using the clock and increased the enable_count.
> This check may be moved to where we actually do unprepare.

Of course, thanks. Will update the series.


Jeremy


\
 
 \ /
  Last update: 2011-02-15 03:03    [from the cache]
©2003-2011 Jasper Spaans