audio: codec: un-mute ad82584 in default [1/1]

PD#SWPL-6810

Problem:
android version, no sound for spk
ad82584 is mute in default.

Solution:
un-mute ad82584, and add delay for de-pop

Verify:
ac200

Change-Id: Id78eb77b5e1a0ebed0a16a9b97992c6a07f78cde
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
This commit is contained in:
Xing Wang
2019-04-08 16:05:48 +08:00
committed by Luke Go
parent 9418989826
commit 3a2b5bb7cf

View File

@@ -824,11 +824,14 @@ static int ad82584f_init(struct snd_soc_codec *codec)
0x1 << 0 /* 64x bclk/fs */
);
/*eq and drc*/
/* eq and drc */
ad82584f_set_eq_drc(codec);
/*unmute,default power-on is mute.*/
/*snd_soc_write(codec, 0x02, 0x00);*/
/* for de-pop */
udelay(100);
/* unmute, default power-on is mute. */
snd_soc_write(codec, 0x02, 0x00);
return 0;
}