aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-27 18:27:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:39:47 -0300
commit106bdbe24ea9038cecc01c168324af59343092ee (patch)
tree7a569d4fafdd0a4ded61ec0bc97aaf81f04038ea /drivers/staging/tm6000/tm6000-core.c
parentV4L/DVB (12801): tm6000: Add support for ADSTech Mini Dual TV (PTV-339). (diff)
downloadlinux-dev-106bdbe24ea9038cecc01c168324af59343092ee.tar.xz
linux-dev-106bdbe24ea9038cecc01c168324af59343092ee.zip
V4L/DVB (12802): tm6000: adds command to enable audio output at tm6000
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-core.c')
-rw-r--r--drivers/staging/tm6000/tm6000-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index 7728e40a34db..8a645fe8e5a3 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -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;
}