patch-1.3.58 linux/drivers/sound/ics2101.c
Next file: linux/drivers/sound/mad16.c
Previous file: linux/drivers/sound/gus_wave.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jan 9 00:37:20 1996
- Orig file:
v1.3.57/linux/drivers/sound/ics2101.c
- Orig date:
Wed Nov 8 07:11:36 1995
diff -u --recursive --new-file v1.3.57/linux/drivers/sound/ics2101.c linux/drivers/sound/ics2101.c
@@ -28,7 +28,7 @@
*/
#include "sound_config.h"
-#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_GUS)
+#if defined(CONFIG_GUS)
#include <linux/ultrasound.h>
#include "gus_hw.h"
@@ -134,7 +134,7 @@
{
if (((cmd >> 8) & 0xff) == 'M')
{
- if (cmd & IOC_IN)
+ if (_IOC_DIR (cmd) & _IOC_WRITE)
switch (cmd & 0xff)
{
case SOUND_MIXER_RECSRC:
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