Loading sound/soc/codecs/wcd9335.c +7 −0 Original line number Diff line number Diff line Loading @@ -5517,6 +5517,13 @@ static int tasha_codec_enable_dec(struct snd_soc_dapm_widget *w, break; case SND_SOC_DAPM_POST_PMU: snd_soc_update_bits(codec, hpf_gate_reg, 0x01, 0x00); if (decimator == 0) { snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x83); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0xA3); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x83); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x03); } /* schedule work queue to Remove Mute */ schedule_delayed_work(&tasha->tx_mute_dwork[decimator].dwork, msecs_to_jiffies(tx_unmute_delay)); Loading Loading
sound/soc/codecs/wcd9335.c +7 −0 Original line number Diff line number Diff line Loading @@ -5517,6 +5517,13 @@ static int tasha_codec_enable_dec(struct snd_soc_dapm_widget *w, break; case SND_SOC_DAPM_POST_PMU: snd_soc_update_bits(codec, hpf_gate_reg, 0x01, 0x00); if (decimator == 0) { snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x83); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0xA3); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x83); snd_soc_write(codec, WCD9335_MBHC_ZDET_RAMP_CTL, 0x03); } /* schedule work queue to Remove Mute */ schedule_delayed_work(&tasha->tx_mute_dwork[decimator].dwork, msecs_to_jiffies(tx_unmute_delay)); Loading