ASoC: rt5645: Increase the delay time to remove the pop sound
authorOder Chiou <oder_chiou@realtek.com>
Wed, 23 Sep 2015 06:35:29 +0000 (14:35 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Sep 2015 17:59:10 +0000 (10:59 -0700)
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c

index 25c34fbae3074eb83b5768917642f35585e86682..61384ee989fcdb9f086869e5d40ae6f59fd4bc27 100644 (file)
@@ -1381,7 +1381,7 @@ static void hp_amp_power(struct snd_soc_codec *codec, int on)
                                regmap_write(rt5645->regmap, RT5645_PR_BASE +
                                        RT5645_MAMP_INT_REG2, 0xfc00);
                                snd_soc_write(codec, RT5645_DEPOP_M2, 0x1140);
-                               mdelay(5);
+                               msleep(40);
                                rt5645->hp_on = true;
                        } else {
                                /* depop parameters */