Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319892
b: refs/heads/master
c: e47c6a3
h: refs/heads/master
v: v3
  • Loading branch information
Fengguang Wu authored and Linus Torvalds committed Jul 31, 2012
1 parent 4bd04d8 commit 044fb7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7041717e7c6ca33310d0c7333d9f7cebc65b2534
refs/heads/master: e47c6a3408ea6bcfc5204f23d5a5b209de6e68b9
3 changes: 3 additions & 0 deletions trunk/drivers/clk/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ static void __clk_disable(struct clk *clk)
if (!clk)
return;

if (WARN_ON(IS_ERR(clk)))
return;

if (WARN_ON(clk->enable_count == 0))
return;

Expand Down

0 comments on commit 044fb7e

Please sign in to comment.