* patch(2.4.19rc1): radio zoltrix typo
@ 2002-07-15 9:44 Gunther Mayer
0 siblings, 0 replies; only message in thread
From: Gunther Mayer @ 2002-07-15 9:44 UTC (permalink / raw)
To: linux-kernel, marcelo
[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]
Hi,
this fixes the stereo indicator for the zoltrix radio card.
Marcelo, apply to 2.4.19 please.
Regards, Gunther
--- linux-2.4.19-rc1/drivers/media/radio/radio-zoltrix-orig Mon Jul
15 11:34:06 2002
+++ linux-2.4.19-rc1/drivers/media/radio/radio-zoltrix.c Mon Jul
15 11:36:51 2002
@@ -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;
[-- Attachment #2: gmdiff-lx2419rc1-radio-zoltrix-stereo --]
[-- Type: text/plain, Size: 701 bytes --]
--- linux-2.4.19-rc1/drivers/media/radio/radio-zoltrix-orig Mon Jul 15 11:34:06 2002
+++ linux-2.4.19-rc1/drivers/media/radio/radio-zoltrix.c Mon Jul 15 11:36:51 2002
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-15 9:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15 9:44 patch(2.4.19rc1): radio zoltrix typo Gunther Mayer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox