]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (4825): FIX bug 5760: audio were not working on some bttv drivers
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 14 Nov 2006 15:40:07 +0000 (12:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 10:51:23 +0000 (08:51 -0200)
This fixes a bug introduced by the -git commit:
bbf7871e1cd58b89f77b1152f457250c6e94b614

It seems that some bttv apps can't work fine when audioset=0.
Thanks to Christian Casteyde <casteyde.christian@free.fr> for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c

index 6e1ddad9f0c1135d492f9c788496ebc4ebfbb578..3c8e4742dccc9fec77d25368cd6e4e989258d651 100644 (file)
@@ -1793,7 +1793,7 @@ static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg)
                memset(i,0,sizeof(*i));
                i->index    = n;
                i->type     = V4L2_INPUT_TYPE_CAMERA;
-               i->audioset = 0;
+               i->audioset = 1;
                if (i->index == bttv_tvcards[btv->c.type].tuner) {
                        sprintf(i->name, "Television");
                        i->type  = V4L2_INPUT_TYPE_TUNER;