[PATCH] v4l: radio-zoltrix fix.

Gerd Knorr
2004-06-18T10:42:44Z

Hi,

Patch is ObviouslyCorrect[tm], please apply,

Gerd

----- Forwarded message from Paul Focke <paul.focke@pandora.be> -----

Date: Thu, 17 Jun 2004 12:55:12 +0200
From: Paul Focke <paul.focke@pandora.be>
Subject: [PATCH] radio-zoltrix
To: kraxel@bytesex.org
Content-Type: multipart/mixed; boundary="=-3kZZlLw+woB/Iii8zHTj"
X-Bogosity: Ham, tests=bogofilter, spamicity=0.026921, version=0.15.13

Hi,

I recently upgraded from 2.4 to kernel 2.6 & noticed that the zoltrix
radio driver was not working. Seems like a little typo.
I tested this on my system and it's working fine now. I doubt there are
any other linux users in the world who still use this card ;-)
This is my first patch. I tried following the guidelines as stated here
: http://www.tux.org/lkml/#s4-1
If I forgot something, don't hesitate to contact me.

Paul Focke

--- a/drivers/media/radio/radio-zoltrix.c 2004-06-17 12:38:20.947707352
+0200
+++ b/drivers/media/radio/radio-zoltrix.c 2004-06-17 12:37:18.729166008
+0200
@@ -273,7 +273,7 @@
case VIDIOCGAUDIO:
{
struct video_audio *v = arg;
- memset(&v, 0, sizeof(*v));
+ memset(v, 0, sizeof(*v));
v->flags |= VIDEO_AUDIO_MUTABLE | VIDEO_AUDIO_VOLUME;
v->mode |= zol_is_stereo(zol)
? VIDEO_SOUND_STEREO : VIDEO_SOUND_MONO;

----- End forwarded message -----