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