patch-2.4.0-test2 linux/drivers/sound/dmasound/dmasound_awacs.c

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

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/sound/dmasound/dmasound_awacs.c linux/drivers/sound/dmasound/dmasound_awacs.c
@@ -1184,7 +1184,7 @@
 }
 
 static struct timer_list beep_timer = {
-	NULL, NULL, 0, 0, awacs_nosound
+	function: awacs_nosound
 };
 
 static void awacs_mksound(unsigned int hz, unsigned int ticks)
@@ -1703,14 +1703,14 @@
 	case SOUND_MIXER_READ_RECLEV:
 		data = awacs_get_volume(awacs_reg[0], 4);
 		return IOCTL_OUT(arg, data);
-	case MIXER_WRITE(SOUND_MASK_MONITOR):
+	case MIXER_WRITE(SOUND_MIXER_MONITOR):
 		IOCTL_IN(arg, data);
 		awacs_reg[1] &= ~MASK_LOOPTHRU;
 		if ((data & 0xff) >= 50)
 			awacs_reg[1] |= MASK_LOOPTHRU;
 		awacs_write(MASK_ADDR1 | awacs_reg[1]);
 		/* fall through */
-	case MIXER_READ(SOUND_MASK_MONITOR):
+	case MIXER_READ(SOUND_MIXER_MONITOR):
 		data = (awacs_reg[1] & MASK_LOOPTHRU)? 100: 0;
 		return IOCTL_OUT(arg, data);
 	}

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