Commit d5ea12f4 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: radio-zoltrix fix.

From: Paul Focke <paul.focke@pandora.be>

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 ;-)
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ed455954
......@@ -273,7 +273,7 @@ static int zol_do_ioctl(struct inode *inode, struct file *file,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment