patch-2.4.17 linux/drivers/sound/cs46xx.c

Next file: linux/drivers/sound/emu10k1/main.c
Previous file: linux/drivers/sound/btaudio.c
Back to the patch index
Back to the overall index

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/sound/cs46xx.c linux/drivers/sound/cs46xx.c
@@ -3003,7 +3003,7 @@
 		return -ENODEV;
 
 	case SNDCTL_DSP_SETDUPLEX:
-		return -EINVAL;
+		return 0;
 
 	case SNDCTL_DSP_GETODELAY:
 		if (!(file->f_mode & FMODE_WRITE))

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