ALSA: ps3: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 14:01:47 +0000 (15:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2013 07:34:58 +0000 (08:34 +0100)
commit025be74c1db44158dd3cfe43b89ba16266d01062
treef0a3d01b60d3932f947fd72f5464a69d0212bf78
parent29fa9578046ea51e9cf97c4e16207ea6ec375084
ALSA: ps3: 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/ppc/snd_ps3.c