patch-2.3.7 linux/drivers/sound/vidc_audio.c

Next file: linux/drivers/sound/vidc_fill.S
Previous file: linux/drivers/sound/vidc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.6/linux/drivers/sound/vidc_audio.c linux/drivers/sound/vidc_audio.c
@@ -9,6 +9,7 @@
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/system.h>
+#include <asm/iomd.h>
 
 #include "sound_config.h"
 #include "vidc.h"
@@ -42,7 +43,6 @@
 
 static int vidc_audio_set_bits(int fmt)
 {
-printk("setting format: %d\n", fmt);
 	switch (fmt)
 	{
 		case AFMT_QUERY:
@@ -219,10 +219,11 @@
 	if (!(adev->flags & DMA_ACTIVE))
 	{
 		unsigned long flags;
-printk("kicking output: %lX+%lX [%lX]\n", dma_start, dma_count, *(unsigned long *)dma_start);
 		save_flags_cli(flags);
+
 		vidc_sound_dma_irq(0, NULL, NULL);
 		outb(DMA_CR_E | 0x10, IOMD_SD0CR);
+
 		restore_flags(flags);
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)