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>

+1 -5
+1 -5
sound/pci/asihpi/asihpi.c
··· 558 558 struct snd_card_asihpi_pcm *dpcm; 559 559 struct snd_card_asihpi *card; 560 560 561 - BUG_ON(!substream); 562 - 563 561 dpcm = (struct snd_card_asihpi_pcm *)substream->runtime->private_data; 564 562 card = snd_pcm_substream_chip(substream); 565 563 566 - BUG_ON(in_interrupt()); 564 + WARN_ON(in_interrupt()); 567 565 tasklet_disable(&card->t); 568 566 card->llmode_streampriv = dpcm; 569 567 tasklet_enable(&card->t); ··· 575 577 { 576 578 struct snd_card_asihpi_pcm *dpcm; 577 579 struct snd_card_asihpi *card; 578 - 579 - BUG_ON(!substream); 580 580 581 581 dpcm = (struct snd_card_asihpi_pcm *)substream->runtime->private_data; 582 582 card = snd_pcm_substream_chip(substream);