Browse Source

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: Mangesh Kunchamwar <[email protected]>
Signed-off-by: Vatsal Bucha <[email protected]>
Mangesh Kunchamwar 6 years ago
parent
commit
3d4eec47ef
2 changed files with 2 additions and 2 deletions
  1. 1 1
      asoc/codecs/bolero/tx-macro.c
  2. 1 1
      asoc/codecs/bolero/va-macro.c

+ 1 - 1
asoc/codecs/bolero/tx-macro.c

@@ -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
asoc/codecs/bolero/va-macro.c

@@ -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));