summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaojun Sang <xsang@codeaurora.org>2017-03-08 15:13:18 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-22 00:23:18 -0700
commit2f58caa0637e9fbbb569d5c127e0916768b9324f (patch)
tree598ce2a8e4e0d27a70046bd321e0fa4a7bfabfc2
parentc1ef16be6d3c5606edb7a23398611d010b405aa8 (diff)
ASoC: wcd: fix pop noise at start of recording on msm8998
Extend unmute time to suppress pop noise at beginning of recording. CRs-Fixed: 2013769 Change-Id: I30953d2730f7be7ee9daa7347c77b1c217f72a0b Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
-rw-r--r--sound/soc/codecs/wcd9335.c2
-rw-r--r--sound/soc/codecs/wcd934x/wcd934x.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c
index d533984558f0..a2b7fb7a3bca 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -192,7 +192,7 @@ module_param(sido_buck_svs_voltage, int,
MODULE_PARM_DESC(sido_buck_svs_voltage,
"setting for SVS voltage for SIDO BUCK");
-#define TASHA_TX_UNMUTE_DELAY_MS 25
+#define TASHA_TX_UNMUTE_DELAY_MS 40
static int tx_unmute_delay = TASHA_TX_UNMUTE_DELAY_MS;
module_param(tx_unmute_delay, int,
diff --git a/sound/soc/codecs/wcd934x/wcd934x.c b/sound/soc/codecs/wcd934x/wcd934x.c
index 192d9291a8f3..5b047cf3fc4a 100644
--- a/sound/soc/codecs/wcd934x/wcd934x.c
+++ b/sound/soc/codecs/wcd934x/wcd934x.c
@@ -507,7 +507,7 @@ static const DECLARE_TLV_DB_SCALE(digital_gain, 0, 1, 0);
static const DECLARE_TLV_DB_SCALE(line_gain, 0, 7, 1);
static const DECLARE_TLV_DB_SCALE(analog_gain, 0, 25, 1);
-#define WCD934X_TX_UNMUTE_DELAY_MS 25
+#define WCD934X_TX_UNMUTE_DELAY_MS 40
static int tx_unmute_delay = WCD934X_TX_UNMUTE_DELAY_MS;
module_param(tx_unmute_delay, int,