audio: fix pop snd after bootup [2/2]

PD#SWPL-3178

Problem:
output big pop noise after system boot up.

Solution:
Add zero and then unmute the stream.
NOTICE: user should unmute the AD82584F after boot.

Verify:
local verified.

Change-Id: I21555318f9347c5340a28f7e5cf0e3e2cde849a0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>

Conflicts:
	sound/soc/codecs/amlogic/ad82584f.c
This commit is contained in:
Shuai Li
2019-01-08 22:16:41 +08:00
committed by Luke Go
parent e1df0fd53c
commit 2ba9fe003c

View File

@@ -827,11 +827,8 @@ static int ad82584f_init(struct snd_soc_codec *codec)
/* eq and drc */
ad82584f_set_eq_drc(codec);
/* for de-pop */
udelay(100);
/* unmute, default power-on is mute. */
snd_soc_write(codec, MUTE, 0x00);
/*unmute,default power-on is mute.*/
/*snd_soc_write(codec, 0x02, 0x00);*/
return 0;
}