mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
6ea1f6f413
commit
b3520d3f1f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue