From 16c93516480ddb3b9750a8963e2f29880c6d6bdb Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 31 Mar 2007 10:34:59 -0300 Subject: Cx88: Support the DTV1000 T analog inputs From: Jean Delvare Add support for the S-Video and CVBS (composite) analog video inputs of the Leadtek WinFast DTV1000 T adapter. Signed-off-by: Jean Delvare Acked-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx88/cx88-cards.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video/cx88') 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); -- cgit v1.2.3