public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gunther Mayer <gunther.mayer@gmx.net>
To: linux-kernel@vger.kernel.org, marcelo@conectiva.com.br
Subject: patch(2.4.19rc1): radio zoltrix typo
Date: Mon, 15 Jul 2002 11:44:35 +0200	[thread overview]
Message-ID: <3D329983.706EB4C6@gmx.net> (raw)

[-- 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;

                 reply	other threads:[~2002-07-15  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D329983.706EB4C6@gmx.net \
    --to=gunther.mayer@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox