ALSA: ctxfi: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 14:00:02 +0000 (15:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2013 07:34:49 +0000 (08:34 +0100)
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>

No differences found