diff options
Diffstat (limited to 'sound/pci/mixart/mixart.c')
-rw-r--r-- | sound/pci/mixart/mixart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index 3dd0c7963273..2d0dce649a64 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -708,7 +708,7 @@ static int snd_mixart_playback_open(struct snd_pcm_substream *subs) | |||
708 | pcm_number = MIXART_PCM_ANALOG; | 708 | pcm_number = MIXART_PCM_ANALOG; |
709 | runtime->hw = snd_mixart_analog_caps; | 709 | runtime->hw = snd_mixart_analog_caps; |
710 | } else { | 710 | } else { |
711 | snd_assert ( pcm == chip->pcm_dig ); | 711 | snd_BUG_ON(pcm != chip->pcm_dig); |
712 | pcm_number = MIXART_PCM_DIGITAL; | 712 | pcm_number = MIXART_PCM_DIGITAL; |
713 | runtime->hw = snd_mixart_digital_caps; | 713 | runtime->hw = snd_mixart_digital_caps; |
714 | } | 714 | } |
@@ -783,7 +783,7 @@ static int snd_mixart_capture_open(struct snd_pcm_substream *subs) | |||
783 | pcm_number = MIXART_PCM_ANALOG; | 783 | pcm_number = MIXART_PCM_ANALOG; |
784 | runtime->hw = snd_mixart_analog_caps; | 784 | runtime->hw = snd_mixart_analog_caps; |
785 | } else { | 785 | } else { |
786 | snd_assert ( pcm == chip->pcm_dig ); | 786 | snd_BUG_ON(pcm != chip->pcm_dig); |
787 | pcm_number = MIXART_PCM_DIGITAL; | 787 | pcm_number = MIXART_PCM_DIGITAL; |
788 | runtime->hw = snd_mixart_digital_caps; | 788 | runtime->hw = snd_mixart_digital_caps; |
789 | } | 789 | } |