Skip to content
Commit 025be74c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 29fa9578
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment