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>
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;
}