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

Commit aeb64266 authored by Xiaoyu Ye's avatar Xiaoyu Ye
Browse files

ASoC: wcd934x: Change the default value of moisture detection register



The moisture detection is enabled by default. Change the default value
of the register to disable moisture detection during codec out of rest.
The moisture detection can be enabled during MBHC initialization by
setting flag "moisture_en" to "true" in machine driver to update this
register.

Change-Id: Ib6d378b5b00572016f8ee1c0885073fd0673c625
Signed-off-by: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent d49371a3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8516,6 +8516,7 @@ static const struct tavil_reg_mask_val tavil_codec_reg_defaults[] = {
	{WCD934X_HPH_L_TEST, 0x01, 0x01},
	{WCD934X_HPH_R_TEST, 0x01, 0x01},
	{WCD934X_CPE_FLL_CONFIG_CTL_2, 0xFF, 0x20},
	{WCD934X_MBHC_NEW_CTL_2, 0x0C, 0x00},
};

static const struct tavil_reg_mask_val tavil_codec_reg_init_1_1_val[] = {