patch-2.1.103 linux/drivers/sound/pas2_mixer.c

Next file: linux/fs/dquot.c
Previous file: linux/drivers/sound/gus_wave.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/drivers/sound/pas2_mixer.c linux/drivers/sound/pas2_mixer.c
@@ -125,11 +125,12 @@
 	left = level & 0x7f;
 	right = (level & 0x7f00) >> 8;
 
-	if (whichDev < SOUND_MIXER_NRDEVICES)
+	if (whichDev < SOUND_MIXER_NRDEVICES) {
 		if ((1 << whichDev) & rec_devices)
 			mixer = 0x20;
 		else
 			mixer = 0x00;
+	}
 
 	switch (whichDev)
 	  {

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