ARM: OMAP: Add sanity check to clk_disable
authorJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 25 Sep 2006 09:41:47 +0000 (12:41 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:41:47 +0000 (12:41 +0300)
commitdee45648a5e2f3075c51f5d6b5da65b32235d3f9
tree17b6fd404b66e60d1486d4103462f6ceda0b04e7
parentbee7930f4aa501de4e3c793640c3af31fd3867e2
ARM: OMAP: Add sanity check to clk_disable

BUG() if the clock use count is already zero.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/clock.c