]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
V4L/DVB (12802): tm6000: adds command to enable audio output at tm6000
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 27 Sep 2007 21:27:35 +0000 (18:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:47 +0000 (00:39 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-core.c

index 7728e40a34dbc6c9ba7b36087c9a7c0de7d1c3ae..8a645fe8e5a31781b1a5ebdadbdb208930be4df9 100644 (file)
@@ -478,6 +478,12 @@ printk("calling PAL/M hack\n");
                tm6000_set_reg (dev, REQ_07_SET_GET_AVREG, 0x04, 0xdc);
                tm6000_set_reg (dev, REQ_07_SET_GET_AVREG, 0x0d, 0x07);
                tm6000_set_reg (dev, REQ_07_SET_GET_AVREG, 0x3f, 0x00);
+
+       /* Enables audio and AV */
+       /* maybe it should be, instead, 0x20 */
+       tm6000_set_reg (dev, REQ_07_SET_GET_AVREG, 0xcc, 0x60);
+       tm6000_set_reg (dev, REQ_08_SET_GET_AVREG_BIT, 0x01, 0x80);
+
                return 0;
        }