patch-2.1.117 linux/drivers/char/radio-zoltrix.c

Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/radio-sf16fmi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.116/linux/drivers/char/radio-zoltrix.c linux/drivers/char/radio-zoltrix.c
@@ -220,7 +220,8 @@
 			struct video_audio v;
 			memset(&v, 0, sizeof(v));
 			v.flags |= VIDEO_AUDIO_MUTABLE | VIDEO_AUDIO_VOLUME;
-			v.volume = rt->curvol * 4095;
+			v.volume = rt->curvol * 4096;
+			v.step = 4096;
 			strcpy(v.name, "Radio");
 			if (copy_to_user(arg, &v, sizeof(v)))
 				return -EFAULT;

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