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: firefly_0821_release~9833^2~2094^2~504 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=106bdbe24ea9038cecc01c168324af59343092ee;p=firefly-linux-kernel-4.4.55.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 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; }