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

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

diff -u --recursive --new-file v2.3.16/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -2311,7 +2311,9 @@
 		index++;
 		continue;
 
+	err_dev4:
 		unregister_sound_midi(s->dev_midi);
+	err_dev3:
 		unregister_sound_mixer(s->dev_mixer);
 	err_dev2:
 		unregister_sound_dsp(s->dev_audio);
@@ -2326,6 +2328,7 @@
 #ifdef CONFIG_SOUND_CMPCI_MIDI
 		release_region(s->iomidi, CM_EXTENT_MIDI);
 #endif
+	err_region4:
 		release_region(s->iobase, CM_EXTENT_CODEC);
 	err_region5:
 		kfree_s(s, sizeof(struct cm_state));

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