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)
commit29fa9578046ea51e9cf97c4e16207ea6ec375084
tree6ce93d0fbc2653b560dc6423d2f0131f6dc0f29a
parent791b3f596e2331f80244cc8532a25b48d45f126d
ALSA: ctxfi: 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/pci/ctxfi/cthardware.c