patch-2.1.132 linux/drivers/sound/vidc_mixer.c

Next file: linux/drivers/sound/vidc_synth.c
Previous file: linux/drivers/sound/vidc_fill.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/drivers/sound/vidc_mixer.c linux/drivers/sound/vidc_mixer.c
@@ -47,13 +47,15 @@
 			break;
 
 		case SOUND_MIXER_READ_SYNTH:
-			ret = vidc_synth_get_volume();
+//			ret = vidc_synth_get_volume();
+			ret = 0;
 			break;
 
 		case SOUND_MIXER_WRITE_SYNTH:
 			if (get_user(ret, (int *) arg))
 				return -EINVAL;
-			ret = vidc_synth_set_volume(ret);
+//			ret = vidc_synth_set_volume(ret);
+			ret = 0;
 			break;
 
 		case SOUND_MIXER_READ_PCM:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov