[patch] Leadtek Winview 601TV bad audios flags fix

Leandro Lucarella (luca@lucarella.com.ar)
Tue, 31 Jul 2001 16:28:11 -0300 (ART)


--8323328-1804289383-996607692=:29241
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Disposition: INLINE

Hi, I was using my Leadtek WinView 601TV card for a long time with some
problems with audio... A few days ago I decided to take a look to the
kernel's source (I never did it before, I was so afraid ;) and I founded
and fixed the problem. It was a bad flag of the audios structure.
Here's the patch. It's for drivers/media/video/bttv-cards.c

--8323328-1804289383-996607692=:29241
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="bttv-cards.c-patch"
Content-Disposition: INLINE; FILENAME="bttv-cards.c-patch"

--- bttv-cards.c-old Tue Jul 31 16:19:00 2001
+++ bttv-cards.c-fixed Tue Jul 31 16:18:38 2001
@@ -1394,7 +1394,8 @@
int bits_out, loops, vol, data;

if (!set) {
- v->mode |= VIDEO_AUDIO_VOLUME;
+ /* Fixed by Leandro Lucarella <luca@linuxmendoza.org.ar (07/31/01) */
+ v->flags |= VIDEO_AUDIO_VOLUME;
return;
}

--8323328-1804289383-996607692=:29241
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Disposition: INLINE

--
LUCA - Leandro Lucarella
------------------------
luca@lucarella.com.ar
http://www.luca.2y.net
LICQ UIN: 2847576
------------------------
Usando Debian GNU/Linux

--8323328-1804289383-996607692=:29241-- - 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/