patch-1.3.71 linux/drivers/sound/gus_wave.c

Next file: linux/drivers/sound/hex2hex.h
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/drivers/sound/gus_wave.c linux/drivers/sound/gus_wave.c
@@ -837,7 +837,7 @@
 
   gus_select_voice (0);		/* This disables writes to IRQ/DMA reg */
 
-  gusintr (0, NULL, NULL);      /* Serve pending interrupts */
+  gusintr (0, NULL, NULL);	/* Serve pending interrupts */
   restore_flags (flags);
 }
 
@@ -3537,10 +3537,16 @@
 static void
 gus_tmr_install (int io_base)
 {
+  struct sound_lowlev_timer *tmr;
+
   select_addr = io_base;
   data_addr = io_base + 1;
 
+  tmr = &gus_tmr;
+
+#ifdef THIS_GETS_FIXED
   sound_timer_init (&gus_tmr, "GUS");
+#endif
 }
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this