From 941cc5cb98a839a9158b84b37ffe10ce7c83868b Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Thu, 10 May 2018 22:29:37 +0800 Subject: [PATCH] ASoC: rk3308_codec: fix the missing 20us between DAC step 7 and 8 Change-Id: I7e0545d7166c56e57b8c632e701f2c66ac841a6b Signed-off-by: Xing Zheng --- sound/soc/codecs/rk3308_codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/rk3308_codec.c b/sound/soc/codecs/rk3308_codec.c index 0d426fc2ed3a..4ab7e4727f3f 100644 --- a/sound/soc/codecs/rk3308_codec.c +++ b/sound/soc/codecs/rk3308_codec.c @@ -876,6 +876,8 @@ static int rk3308_codec_dac_enable(struct rk3308_codec_priv *rk3308) RK3308_DAC_L_HPOUT_EN | RK3308_DAC_R_HPOUT_EN); + udelay(20); + /* Step 08 */ regmap_update_bits(rk3308->regmap, RK3308_DAC_ANA_CON03, RK3308_DAC_L_HPOUT_WORK |