]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3ecf7757306baefe372beb4d81eb7d633f52daf
tree9463c4614125cb06cbf4c9e439afd5ed28f245a1
parent7884723c0e6dba2fed40644e3da78839aab69335
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