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    [W:0.020 / U:0.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site