[PATCH] v4l: radio-zoltrix fix.

From: Gerd Knorr
Date: Fri Jun 18 2004 - 05:46:12 EST


Hi,

Patch is ObviouslyCorrect[tm], please apply,

Gerd

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

Date: Thu, 17 Jun 2004 12:55:12 +0200
From: Paul Focke <paul.focke@xxxxxxxxxx>
Subject: [PATCH] radio-zoltrix
To: kraxel@xxxxxxxxxxx
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 -----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/