lkml.org 
[lkml]   [2004]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] v4l: radio-zoltrix fix.
  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 -----
-
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/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.042 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site