mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user