Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d4eec47 authored by Mangesh Kunchamwar's avatar Mangesh Kunchamwar
Browse files

asoc: codecs: bolero: Reduce hpf corner freq delay to 50ms



Reduce hpf corner freq delay from 300ms to 50ms
to avoid initial mute in recorded audio.

Change-Id: Ibd6e7d60f836e866d73899d3f691c0e8070a3527
Signed-off-by: default avatarMangesh Kunchamwar <mangeshk@codeaurora.org>
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 527070fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ static int tx_macro_enable_dec(struct snd_soc_dapm_widget *w,
							CF_MIN_3DB_150HZ) {
			schedule_delayed_work(
					&tx_priv->tx_hpf_work[decimator].dwork,
					msecs_to_jiffies(300));
					msecs_to_jiffies(50));
			snd_soc_component_update_bits(component,
					hpf_gate_reg, 0x02, 0x02);
			/*
+1 −1
Original line number Diff line number Diff line
@@ -595,7 +595,7 @@ static int va_macro_enable_dec(struct snd_soc_dapm_widget *w,
							CF_MIN_3DB_150HZ)
			schedule_delayed_work(
					&va_priv->va_hpf_work[decimator].dwork,
					msecs_to_jiffies(300));
					msecs_to_jiffies(50));
		/* apply gain after decimator is enabled */
		snd_soc_component_write(component, tx_gain_ctl_reg,
			snd_soc_component_read32(component, tx_gain_ctl_reg));