audio: remove handset pop-noise

When receiver opens immediately after it is  closed, the pop-noise occurs.

Change-Id: I8e5374edea9f8710963b7669e64b109db2354650
This commit is contained in:
ty.lee 2012-08-23 21:33:19 +09:00 committed by Iliyan Malchev
parent 6ea1f6f413
commit b3520d3f1f

View file

@ -417,6 +417,7 @@ static int tabla_codec_enable_charge_pump(struct snd_soc_dapm_widget *w,
pr_debug("%s %d\n", __func__, event); pr_debug("%s %d\n", __func__, event);
switch (event) { switch (event) {
case SND_SOC_DAPM_POST_PMU: case SND_SOC_DAPM_POST_PMU:
msleep(15);
snd_soc_update_bits(codec, TABLA_A_CDC_CLK_OTHR_CTL, 0x01, snd_soc_update_bits(codec, TABLA_A_CDC_CLK_OTHR_CTL, 0x01,
0x01); 0x01);
snd_soc_update_bits(codec, TABLA_A_CDC_CLSG_CTL, 0x08, 0x08); snd_soc_update_bits(codec, TABLA_A_CDC_CLSG_CTL, 0x08, 0x08);