diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-19 11:21:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-19 11:21:50 -0300 |
commit | 4ab7e7e5f0d2d8b0abcd7a23f6427c724a4d46bd (patch) | |
tree | 6b303b427b31739951b366e93f2c88de0ed95e90 /linux/drivers/media/video/cx88/cx88-cards.c | |
parent | 2ffc445b84cc0b33bcf35fa48b9de2296287813e (diff) | |
download | mediapointer-dvb-s2-4ab7e7e5f0d2d8b0abcd7a23f6427c724a4d46bd.tar.gz mediapointer-dvb-s2-4ab7e7e5f0d2d8b0abcd7a23f6427c724a4d46bd.tar.bz2 |
Fix support for Winfast TV2000 XP Global
From: C.masoyras <agiofws@gmail.com>
Fix GPIO to work with TV and Composite inputs.
Signed-off-by: C.masoyras <agiofws@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 6be16512a..7b1fb79b6 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -983,9 +983,17 @@ struct cx88_board cx88_boards[] = { .input = {{ .type = CX88_VMUX_TELEVISION, .vmux = 0, - },{ - .type = CX88_VMUX_COMPOSITE1, - .vmux = 1, + .gpio0 = 0x0400, /* pin 2:mute = 0 (off?) */ + .gpio1 = 0x0000, + .gpio2 = 0x0800, /* pin 19:audio = 0 (tv) */ + + },{ + .type = CX88_VMUX_COMPOSITE1, + .vmux = 1, + .gpio0 = 0x0400, /* probably? or 0x0404 to turn mute on */ + .gpio1 = 0x0000, + .gpio2 = 0x0808, /* pin 19:audio = 1 (line) */ + },{ .type = CX88_VMUX_SVIDEO, .vmux = 2, |