[PATCH] v4l: 894: work around to allow hybrid dvb card to autoload the tda9887
authorRicardo Cerqueira <v4l@cerqueira.org>
Wed, 9 Nov 2005 05:38:34 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:28 +0000 (07:56 -0800)
- Work-around to allow hybrid DVB card to autoload the tda9887

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/bttv-cards.c

index d81672a..3413bac 100644 (file)
@@ -3407,6 +3407,9 @@ void __devinit bttv_init_card2(struct bttv *btv)
        if (0 == tda9887 && 0 == bttv_tvcards[btv->c.type].has_dvb &&
            bttv_I2CRead(btv, I2C_TDA9887, "TDA9887") >=0)
                tda9887 = 1;
+       /* Hybrid DVB card, DOES have a tda9887 */
+       if (btv->c.type == BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE)
+               tda9887 = 1;
        if((btv->tuner_type == TUNER_PHILIPS_FM1216ME_MK3) ||
           (btv->tuner_type == TUNER_PHILIPS_FM1236_MK3) ||
           (btv->tuner_type == TUNER_PHILIPS_FM1256_IH3) ||