From: Mauro Carvalho Chehab Date: Thu, 27 Sep 2007 21:27:35 +0000 (-0300) Subject: V4L/DVB (12802): tm6000: adds command to enable audio output at tm6000 X-Git-Tag: v3.12-rc1~10285^2~504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=106bdbe24ea9038cecc01c168324af59343092ee;p=kernel%2Fkernel-generic.git V4L/DVB (12802): tm6000: adds command to enable audio output at tm6000 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c index 7728e40..8a645fe 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; }