patch(2.4.19rc1): radio zoltrix typo

Gunther Mayer (gunther.mayer@gmx.net)
Mon, 15 Jul 2002 11:44:35 +0200


This is a multi-part message in MIME format.
--------------6B82A139C3C7650FD66B05E5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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;

--------------6B82A139C3C7650FD66B05E5
Content-Type: text/plain; charset=us-ascii;
name="gmdiff-lx2419rc1-radio-zoltrix-stereo"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="gmdiff-lx2419rc1-radio-zoltrix-stereo"

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

--------------6B82A139C3C7650FD66B05E5--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/