ALSA: asihpi: Kill BUG_ON() usages
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Sep 2017 08:51:54 +0000 (10:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Sep 2017 08:52:37 +0000 (10:52 +0200)
commit2a0d85d9add77bb7a4ddd61557ffb21ca5370d15
tree9463c4614125cb06cbf4c9e439afd5ed28f245a1
parentc8445589450582a3d948779c0fc5106604ce89a1
ALSA: asihpi: Kill BUG_ON() usages

BUG_ON() is the worst choice for a trivial sanity check.
Either it should be removed or replaced with a softer one like
WARN_ON() if still really needed.

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