Thread (128 messages) flat view 128 messages, 19 authors, 2011-04-20

[RFC, PATCH 3/3] clk: add warnings for incorrect enable/prepare semantics

From: Jeremy Kerr <hidden>
Date: 2011-02-15 02:00:47
Also in: linux-sh, lkml

Hi Richard,
quoted
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help