From 3d4eec47ef29a0a448f3d788dd4953c743123670 Mon Sep 17 00:00:00 2001 From: Mangesh Kunchamwar Date: Tue, 5 Mar 2019 15:06:48 +0530 Subject: [PATCH] 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 Signed-off-by: Vatsal Bucha --- asoc/codecs/bolero/tx-macro.c | 2 +- asoc/codecs/bolero/va-macro.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/asoc/codecs/bolero/tx-macro.c b/asoc/codecs/bolero/tx-macro.c index 58f3689276da..98ee1e72d611 100644 --- a/asoc/codecs/bolero/tx-macro.c +++ b/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); /* diff --git a/asoc/codecs/bolero/va-macro.c b/asoc/codecs/bolero/va-macro.c index f8df0b7722f2..61bfa9a88d28 100644 --- a/asoc/codecs/bolero/va-macro.c +++ b/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));