summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-03-31 10:34:59 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-03-31 10:34:59 -0300
commit16c93516480ddb3b9750a8963e2f29880c6d6bdb (patch)
tree847e90ea9448734123d0aae3f2ffd79532219615 /linux
parent9f9ea42839dd8a896e895354031d29571ebf0c84 (diff)
downloadmediapointer-dvb-s2-16c93516480ddb3b9750a8963e2f29880c6d6bdb.tar.gz
mediapointer-dvb-s2-16c93516480ddb3b9750a8963e2f29880c6d6bdb.tar.bz2
Cx88: Support the DTV1000 T analog inputs
From: Jean Delvare <khali@linux-fr.org> Add support for the S-Video and CVBS (composite) analog video inputs of the Leadtek WinFast DTV1000 T adapter. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index 825334ef3..6be16512a 100644
--- a/linux/drivers/media/video/cx88/cx88-cards.c
+++ b/linux/drivers/media/video/cx88/cx88-cards.c
@@ -886,6 +886,12 @@ struct cx88_board cx88_boards[] = {
.input = {{
.type = CX88_VMUX_DVB,
.vmux = 0,
+ },{
+ .type = CX88_VMUX_COMPOSITE1,
+ .vmux = 1,
+ },{
+ .type = CX88_VMUX_SVIDEO,
+ .vmux = 2,
}},
.mpeg = CX88_MPEG_DVB,
},
@@ -1955,14 +1961,14 @@ void cx88_card_setup(struct cx88_core *core)
{0x13,0x04},
{0x16,0x00},
{0x14,0x04},
- {0x17,0x00}
+ {0x17,0x00}
};
core->i2c_client.addr = 0x0a;
for (i = 0; i < ARRAY_SIZE(buffer); i++)
if (2 != i2c_master_send(&core->i2c_client,
buffer[i],2))
- printk(KERN_WARNING
+ printk(KERN_WARNING
"%s: Unable to enable "
"tuner(%i).\n",
core->name, i);