public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] v4l: radio-zoltrix fix.
@ 2004-06-18 10:14 Gerd Knorr
  0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2004-06-18 10:14 UTC (permalink / raw)
  To: Andrew Morton, Kernel List; +Cc: Paul Focke

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-18 10:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18 10:14 [PATCH] v4l: radio-zoltrix fix Gerd Knorr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox