V4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs
authorHartmut Hackmann <hartmut.hackmann@t-online.de>
Tue, 28 Feb 2006 00:08:07 +0000 (21:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 8 Mar 2006 14:35:05 +0000 (11:35 -0300)
- Init message was sent to wrong slave address
- Deleted outdated comment

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-cards.c

index f156650960c2a1b58e96bc71e16aaba36fbd0508..ea2fa0d18927a5f4b88cf03c87ceadb7b4a19576 100644 (file)
@@ -2624,7 +2624,7 @@ struct saa7134_board saa7134_boards[] = {
                .tuner_addr     = ADDR_UNSET,
                .radio_addr     = ADDR_UNSET,
                .gpiomask       = 0x00200000,
-               .mpeg           = SAA7134_MPEG_DVB,     /* FIXME: DVB not implemented yet */
+               .mpeg           = SAA7134_MPEG_DVB,
                .inputs         = {{
                        .name = name_tv,        /* Analog broadcast/cable TV */
                        .vmux = 1,
@@ -3549,6 +3549,12 @@ int saa7134_board_init2(struct saa7134_dev *dev)
                }
                break;
        case SAA7134_BOARD_FLYDVB_TRIO:
+               {
+               u8 data[] = { 0x3c, 0x33, 0x62};
+               struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
+               i2c_transfer(&dev->i2c_adap, &msg, 1);
+               }
+               break;
        case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
                /* make the tda10046 find its eeprom */
                {