audio: codec: the DAC gain set of acodec not work [1/1]
authorShuyu Li <shuyu.li@amlogic.com>
Mon, 10 Dec 2018 08:47:24 +0000 (16:47 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 12 Dec 2018 09:32:51 +0000 (01:32 -0800)
commit049fac9774e7b0c9d3bcb8dc157bfe3afd4a5396
tree2c87db36cf6f73dce08eee7dddd06a197c85790a
parent99ce99f6e7869f23d1b4ea0c4bcdfefed83273db
audio: codec: the DAC gain set of acodec not work [1/1]

PD#SWPL-3134

Problem:
the DAC gain set is not work

Solution:
update and aml_codec_tl1_acodec.c, change the method of
getting codec pointer from kcontrol pointer.

Verify:
verify by T962x2_X301 board

Change-Id: I02f02b73fab3b8391ef4866a71ffaf0d48bbbbbf
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
sound/soc/codecs/amlogic/aml_codec_tl1_acodec.c