Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48657
b: refs/heads/master
c: 23cebe2
h: refs/heads/master
i:
  48655: 823a883
v: v3
  • Loading branch information
Haavard Skinnemoen committed Feb 16, 2007
1 parent 907ad6b commit fc5f69a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a5fe2387925405da0319330986184792ce48ad1
refs/heads/master: 23cebe2287474720c2eb0673581056cfb285a69f
6 changes: 5 additions & 1 deletion trunk/arch/avr32/mach-at32ap/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ EXPORT_SYMBOL(clk_enable);

static void __clk_disable(struct clk *clk)
{
BUG_ON(clk->users == 0);
if (clk->users == 0) {
printk(KERN_ERR "%s: mismatched disable\n", clk->name);
WARN_ON(1);
return;
}

if (--clk->users == 0 && clk->mode)
clk->mode(clk, 0);
Expand Down

0 comments on commit fc5f69a

Please sign in to comment.