patch-2.4.0-test11 linux/drivers/sound/ad1816.c

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

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/ad1816.c linux/drivers/sound/ad1816.c
@@ -916,7 +916,7 @@
 	if (((cmd >> 8) & 0xff) == 'M') { 
 		
 		/* set ioctl */
-		if (_IOC_DIR (cmd) & _IOC_WRITE) { 
+		if (_SIOC_DIR (cmd) & _SIOC_WRITE) { 
 			switch (cmd & 0xff){
 			case SOUND_MIXER_RECSRC:
 				

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