patch-2.1.111 linux/drivers/sound/cs4232.c

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

diff -u --recursive --new-file v2.1.110/linux/drivers/sound/cs4232.c linux/drivers/sound/cs4232.c
@@ -277,7 +277,6 @@
 {
 	int base = hw_config->io_base, irq = hw_config->irq;
 	int dma1 = hw_config->dma, dma2 = hw_config->dma2;
-	int mixer = audio_devs[hw_config->slots[0]]->mixer_dev;
 
 	if (dma2 == -1)
 		dma2 = dma1;
@@ -288,9 +287,6 @@
 		      dma2,	/* Capture DMA */
 		      0);
 
-	if (mixer >= 0) {
-	    sound_unload_mixerdev (mixer);
-	}
 	sound_unload_audiodev(hw_config->slots[0]);
 #if defined(CONFIG_UART401) && defined(CONFIG_MIDI)
 	if (mpu_base != 0 && mpu_irq != 0 && mpu_detected)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov