]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7505): Powercolor Real Angel 330 (fixes gpio references)
authorDâniel Fraga <fragabr@gmail.com>
Tue, 8 Apr 2008 22:54:49 +0000 (19:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:58 +0000 (14:07 -0300)
The attached patch fixes gpio references for Powercolor Real Angel 330.

Signed-off-by: Daniel Fraga <fragabr@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-cards.c

index 70505b4e5b4676d7da4dfb680c9eca2e32666892..0534f589c72534bbeceeeaab6016b877b359c4ab 100644 (file)
@@ -1492,28 +1492,26 @@ static const struct cx88_board cx88_boards[] = {
                .input          = { {
                        .type   = CX88_VMUX_TELEVISION,
                        .vmux   = 0,
-                       .gpio0 = 0x0400, /* pin 2:mute = 0 (off?) */
+                       .gpio0 = 0x00ff,
                        .gpio1 = 0xf35d,
-                       .gpio2 = 0x0800, /* pin 19:audio = 0 (tv) */
+                       .gpio3 = 0x0000,
                }, {
                        .type   = CX88_VMUX_COMPOSITE1,
                        .vmux   = 1,
-                       .gpio0 = 0x0400, /* probably?  or 0x0404 to turn mute on */
-                       .gpio1 = 0x0000,
-                       .gpio2 = 0x0808, /* pin 19:audio = 1 (line) */
+                       .gpio0 = 0x00ff,
+                       .gpio1 = 0xf37d,
+                       .gpio3 = 0x0000,
                }, {
                        .type   = CX88_VMUX_SVIDEO,
                        .vmux   = 2,
                        .gpio0  = 0x000ff,
                        .gpio1  = 0x0f37d,
-                       .gpio2  = 0x00019,
                        .gpio3  = 0x00000,
                } },
                .radio = {
                        .type   = CX88_RADIO,
                        .gpio0  = 0x000ff,
                        .gpio1  = 0x0f35d,
-                       .gpio2  = 0x00019,
                        .gpio3  = 0x00000,
                },
        },