ASoC: rk3308_codec: increase some delays to be stabe enabling DAC

From the suggest of IP vendor, we need more delays to
adapt to the playing scene in different temperature
environments.

Change-Id: I95abe2bac43de19241092d6e785f28960760dacd
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
Xing Zheng
2019-05-24 09:31:44 +08:00
parent a9b3e6c878
commit 75249587c7

View File

@@ -2080,7 +2080,7 @@ static int rk3308_codec_dac_enable(struct rk3308_codec_priv *rk3308)
RK3308_DAC_BUF_REF_R_EN);
/* Waiting the stable reference voltage */
udelay(50);
mdelay(1);
if (rk3308->dac_output == DAC_HPOUT ||
rk3308->dac_output == DAC_LINEOUT_HPOUT) {
@@ -2115,7 +2115,7 @@ static int rk3308_codec_dac_enable(struct rk3308_codec_priv *rk3308)
RK3308_DAC_R_HPMIX_EN);
/* Waiting the stable HPMIX */
udelay(50);
mdelay(1);
/* Step 06. Reset HPMIX and recover HPMIX gains */
regmap_update_bits(rk3308->regmap, RK3308_DAC_ANA_CON13,