]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/codecs/rt5663.c
ASoC: rt5663: Add the delay time to correct the calibration
[mirror_ubuntu-bionic-kernel.git] / sound / soc / codecs / rt5663.c
index 45f8a9888f7d8f69985dad874f2fde374c82a8ce..c1f0a72c0133136143efa94e6296d787c2035f07 100644 (file)
@@ -3058,6 +3058,7 @@ static void rt5663_calibrate(struct rt5663_priv *rt5663)
        regmap_write(rt5663->regmap, RT5663_PWR_ANLG_3, 0x018c);
        regmap_write(rt5663->regmap, RT5663_HP_CHARGE_PUMP_1, 0x1e32);
        regmap_write(rt5663->regmap, RT5663_DACREF_LDO, 0x3b0b);
+       msleep(40);
        regmap_write(rt5663->regmap, RT5663_STO_DAC_MIXER, 0x0000);
        regmap_write(rt5663->regmap, RT5663_BYPASS_STO_DAC, 0x000c);
        regmap_write(rt5663->regmap, RT5663_HP_BIAS, 0xafaa);