]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AVR32] Warn, don't BUG if clk_disable is called too many times
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 16 Feb 2007 12:19:47 +0000 (13:19 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 16 Feb 2007 12:19:47 +0000 (13:19 +0100)
commit23cebe2287474720c2eb0673581056cfb285a69f
tree88112b4feb2f0d8d5f384f352bc77b6738c6eb3e
parent7a5fe2387925405da0319330986184792ce48ad1
[AVR32] Warn, don't BUG if clk_disable is called too many times

Print a helpful warning along with a stack dump if clk_disable is
called on a already-disabled clock. Remove the BUG_ON().

Extracted from a patch by David Brownell.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/clock.c