]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/mips/au1x00.c
Merge branch 'topic/quirk-cleanup' into topic/misc
[linux-2.6-omap-h63xx.git] / sound / mips / au1x00.c
index fbef38a9604ae31e775cfdaaeac3a5efef922dc9..7c1afc96ab87c575d6b68921376728bb0332eaa7 100644 (file)
@@ -190,14 +190,16 @@ au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes,
 static void
 au1000_dma_stop(struct audio_stream *stream)
 {
-       snd_assert(stream->buffer, return);
+       if (snd_BUG_ON(!stream->buffer))
+               return;
        disable_dma(stream->dma);
 }
 
 static void
 au1000_dma_start(struct audio_stream *stream)
 {
-       snd_assert(stream->buffer, return);
+       if (snd_BUG_ON(!stream->buffer))
+               return;
 
        init_dma(stream->dma);
        if (get_dma_active_buffer(stream->dma) == 0) {
@@ -676,7 +678,7 @@ au1000_init(void)
                return err;
        }
 
-       printk( KERN_INFO "ALSA AC97: Driver Initialized\n" );
+       printk(KERN_INFO "ALSA AC97: Driver Initialized\n");
        au1000_card = card;
        return 0;
 }