summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhalchandra Gajare <gajare@codeaurora.org>2016-08-22 14:58:54 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-31 16:49:26 -0700
commitd07c2a2ef84f5e4b53151b9b0aeee43c5511fb55 (patch)
tree1729465df766aabe61b2cea283eb7607b6e65f11
parentab26d098793adbf90b77d414663e34ac0c7315f6 (diff)
ASoC: wcd934x: Fix register default for MAD buffer interval
Current register default setting for MAD buffer interval is incorrect and hence microphone activity detection is not functional. Update the default value of the MAD buffer interval to 10msec. CRs-Fixed: 1049012 Change-Id: I1dcdcb566f096bbddad286dc71c5bf980303e4c3 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
-rw-r--r--sound/soc/codecs/wcd934x/wcd934x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd934x/wcd934x.c b/sound/soc/codecs/wcd934x/wcd934x.c
index 50a023013fa8..9f05d6487713 100644
--- a/sound/soc/codecs/wcd934x/wcd934x.c
+++ b/sound/soc/codecs/wcd934x/wcd934x.c
@@ -6289,7 +6289,7 @@ static const struct tavil_reg_mask_val tavil_codec_reg_defaults[] = {
{WCD934X_CDC_BOOST0_BOOST_CFG2, 0x1C, 0x08},
{WCD934X_CDC_BOOST1_BOOST_CFG1, 0x3F, 0x12},
{WCD934X_CDC_BOOST1_BOOST_CFG2, 0x1C, 0x08},
- {WCD934X_CPE_SS_CPARMAD_BUFRDY_INT_PERIOD, 0x1F, 0x03},
+ {WCD934X_CPE_SS_CPARMAD_BUFRDY_INT_PERIOD, 0x1F, 0x09},
};
static const struct tavil_reg_mask_val tavil_codec_reg_init_common_val[] = {