patch-2.3.41 linux/drivers/sound/cmpci.c

Next file: linux/drivers/sound/dmasound.c
Previous file: linux/drivers/sound/audio.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -2315,7 +2315,7 @@
 #ifdef CONFIG_SOUND_CMPCI_REAR
 static int	rear_out = 1;
 #else
-static int	read_out = 0;
+static int	rear_out = 0;
 #endif
 
 int __init init_cmpci(void)
@@ -2377,6 +2377,7 @@
 		s->iobase = pcidev->resource[0].start;
 		s->iosynth = 0x388;
 		s->iomidi = 0x330;
+		spin_lock_init(&s->lock);
 		if (s->iobase == 0)
 			continue;
 		s->irq = pcidev->irq;

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