diff options
-rw-r--r-- | arch/arm/plat-omap/clock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 7f45c7c3e673..4abf2714f2d9 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -100,6 +100,7 @@ void clk_disable(struct clk *clk) | |||
100 | return; | 100 | return; |
101 | 101 | ||
102 | spin_lock_irqsave(&clockfw_lock, flags); | 102 | spin_lock_irqsave(&clockfw_lock, flags); |
103 | BUG_ON(clk->usecount == 0); | ||
103 | if (arch_clock->clk_disable) | 104 | if (arch_clock->clk_disable) |
104 | arch_clock->clk_disable(clk); | 105 | arch_clock->clk_disable(clk); |
105 | spin_unlock_irqrestore(&clockfw_lock, flags); | 106 | spin_unlock_irqrestore(&clockfw_lock, flags); |