patch-2.4.19 linux-2.4.19/drivers/media/radio/radio-zoltrix.c

Next file: linux-2.4.19/drivers/media/video/bttv-cards.c
Previous file: linux-2.4.19/drivers/media/radio/radio-sf16fmi.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/media/radio/radio-zoltrix.c linux-2.4.19/drivers/media/radio/radio-zoltrix.c
@@ -23,6 +23,7 @@
  *		(can detect if station is in stereo)
  *	      - Added unmute function
  *	      - Reworked ioctl functions
+ * 2002-07-15 - Fix Stereo typo
  */
 
 #include <linux/module.h>	/* Modules                        */
@@ -280,7 +281,7 @@
 			struct video_audio v;
 			memset(&v, 0, sizeof(v));
 			v.flags |= VIDEO_AUDIO_MUTABLE | VIDEO_AUDIO_VOLUME;
-			v.mode != zol_is_stereo(zol)
+			v.mode |= zol_is_stereo(zol)
 				? VIDEO_SOUND_STEREO : VIDEO_SOUND_MONO;
 			v.volume = zol->curvol * 4096;
 			v.step = 4096;

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