]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: sparc/cs4231: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 14:02:42 +0000 (15:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2013 07:35:07 +0000 (08:35 +0100)
commit5a19b178d7b4dd162b3d4c7e729f30348f2eb177
tree5e3c40f839b36f676b156c1314bacf9154f5b7b5
parent025be74c1db44158dd3cfe43b89ba16266d01062
ALSA: sparc/cs4231: Use WARN_ON() instead of BUG_ON()

BUG_ON() is rather useless for debugging as it leads to panic().
Use WARN_ON() and handle the error cases accordingly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/cs4231.c