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

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

diff -u --recursive --new-file v2.2.2/linux/drivers/char/radio-zoltrix.c linux/drivers/char/radio-zoltrix.c
@@ -11,7 +11,8 @@
  *  at a low frequency, and it is not possible (at least I have not found)
  *  to get fine volume control over the low volume range.
  *
- *  Some code derived from code by Frans Brinkman
+ *  Some code derived from code by Romolo Manfredini
+ *				   romolo@bicnet.it
  *
  * 1999-01-05 - (C. van Schaik)
  *	      - Changed tuning to 1/160Mhz accuracy
@@ -285,10 +286,10 @@
 			if (v.flags & VIDEO_AUDIO_MUTE)
 				zol_mute(zol);
 			else
+			{
 				zol_unmute(zol);
-
-			if (v.flags & VIDEO_AUDIO_VOLUME)
 				zol_setvol(zol, v.volume / 4096);
+			}
 
 			if (v.mode & VIDEO_SOUND_STEREO)
 			{

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