[patch] Leadtek Winview 601TV bad audios flags fix

From: Leandro Lucarella (luca@lucarella.com.ar)
Date: Tue Jul 31 2001 - 14:28:11 EST


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


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


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

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:53 EST