patch-1.3.58 linux/drivers/sound/pas2_mixer.c
Next file: linux/drivers/sound/pas2_pcm.c
Previous file: linux/drivers/sound/pas2_midi.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jan 9 00:37:29 1996
- Orig file:
v1.3.57/linux/drivers/sound/pas2_mixer.c
- Orig date:
Fri Oct 13 14:44:34 1995
diff -u --recursive --new-file v1.3.57/linux/drivers/sound/pas2_mixer.c linux/drivers/sound/pas2_mixer.c
@@ -31,7 +31,7 @@
#include "sound_config.h"
-#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_PAS)
+#if defined(CONFIG_PAS)
#include "pas.h"
@@ -264,7 +264,7 @@
if (((cmd >> 8) & 0xff) == 'M')
{
- if (cmd & IOC_IN)
+ if (_IOC_DIR (cmd) & _IOC_WRITE)
return snd_ioctl_return ((int *) arg, pas_mixer_set (cmd & 0xff, get_fs_long ((long *) arg)));
else
{ /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this