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

Commit 75638e61 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare Committed by Matt Wagantall
Browse files

ASoC: wcd9335: Fix the default register setting for MAD



The codec reset value for MAD (Microphone Activity Detection) hardware
block is incorrect, which is resulting into no detection from MAD. Fix
this issue by correcting the default register setting for MAD.

CRs-fixed: 840430
Change-Id: Ic9e7102f9dd9426e6a2c9bf66f0296faacde75a3
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent 0afc9f1c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7099,6 +7099,7 @@ static const struct tasha_reg_mask_val tasha_codec_reg_init_val[] = {
	{WCD9335_CDC_RX6_RX_PATH_MIX_CFG, 0x01, 0x01},
	{WCD9335_CDC_RX7_RX_PATH_MIX_CFG, 0x01, 0x01},
	{WCD9335_CDC_RX8_RX_PATH_MIX_CFG, 0x01, 0x01},
	{WCD9335_SOC_MAD_AUDIO_CTL_2, 0x03, 0x03},
};

static void tasha_codec_init_reg(struct snd_soc_codec *codec)