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

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

diff -u --recursive --new-file v2.1.71/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