patch-2.4.6 linux/drivers/sound/i810_audio.c

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

diff -u --recursive --new-file v2.4.5/linux/drivers/sound/i810_audio.c linux/drivers/sound/i810_audio.c
@@ -1446,7 +1446,7 @@
 		if (dmabuf->enable & ADC_RUNNING) {
 			stop_adc(state);
 		}
-		return ret;
+		return put_user(ret, (int *)arg);
 
 	case SNDCTL_DSP_GETBLKSIZE:
 		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)