aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-cards.c
diff options
context:
space:
mode:
authorKirk Lapray <kirk.lapray@gmail.com>2005-11-09 00:38:18 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:26 -0500
commitfde6d31e19addca8be17dee7f47ad0a7fcaa79ca (patch)
tree16df2e0145321c6a1efe1c0408a2f9dd55bc4b2b /drivers/media/video/cx88/cx88-cards.c
parent85a2eb07e1a83a9569cdaddcef2db8d70e4fbea9 (diff)
[PATCH] v4l: 868: added support for nxt200x based cards ati hdtv wonder
- Added support for NXT200X based cards (ATI HDTV Wonder) Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> 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>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r--drivers/media/video/cx88/cx88-cards.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index 504917768794..f20984eb5538 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -851,6 +851,7 @@ struct cx88_board cx88_boards[] = {
851 .gpio2 = 0x00000001, 851 .gpio2 = 0x00000001,
852 .gpio3 = 0x00000000, 852 .gpio3 = 0x00000000,
853 }}, 853 }},
854 .dvb = 1,
854 }, 855 },
855 [CX88_BOARD_WINFAST_DTV1000] = { 856 [CX88_BOARD_WINFAST_DTV1000] = {
856 .name = "WinFast DTV1000-T", 857 .name = "WinFast DTV1000-T",
@@ -1212,13 +1213,10 @@ void cx88_card_setup(struct cx88_core *core)
1212 if (0 == core->i2c_rc) { 1213 if (0 == core->i2c_rc) {
1213 /* enable tuner */ 1214 /* enable tuner */
1214 int i; 1215 int i;
1215 u8 buffer[12]; 1216 u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
1216 core->i2c_client.addr = 0x0a; 1217 core->i2c_client.addr = 0x0a;
1217 buffer[0] = 0x10; buffer[1] = 0x12; buffer[2] = 0x13; buffer[3] = 0x04;
1218 buffer[4] = 0x16; buffer[5] = 0x00; buffer[6] = 0x14; buffer[7] = 0x04;
1219 buffer[8] = 0x14; buffer[9] = 0x00; buffer[10] = 0x17; buffer[11] = 0x00;
1220 1218
1221 for (i = 0; i < 6; i++) 1219 for (i = 0; i < 5; i++)
1222 if (2 != i2c_master_send(&core->i2c_client,&buffer[i*2],2)) 1220 if (2 != i2c_master_send(&core->i2c_client,&buffer[i*2],2))
1223 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n", 1221 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
1224 core->name, i); 1222 core->name, i);