patch-2.1.73 linux/drivers/sound/lowlevel/awe_wave.c

Next file: linux/fs/dcache.c
Previous file: linux/drivers/sgi/char/vga_font.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/drivers/sound/lowlevel/awe_wave.c linux/drivers/sound/lowlevel/awe_wave.c
@@ -564,7 +564,7 @@
 	synth_devs[my_dev] = &awe_operations;
 
 #ifdef CONFIG_AWE32_MIXER
-	if ((my_mixerdev=sound_alloc_mixerdev())==-1) {
+	if ((my_mixerdev=sound_alloc_mixerdev())!=-1) {
 		mixer_devs[my_mixerdev] = &awe_mixer_operations;
 	}
 #endif

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