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

Commit 36b5c79f authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoC: msm: Configure mbhc moisture detection parameters



WCD9335 audio codec has support to detect moisture present
in headset jack to avoid fake insertion interrupts caused by
moisture. Configure the moisture detection parameters to enable
this functionality.

Change-Id: Id5f3bb840b172073d65093757dabe4d26858cf11
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 688c230b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -179,6 +179,7 @@ static struct wcd_mbhc_config wcd_mbhc_cfg = {
	.key_code[6] = 0,
	.key_code[7] = 0,
	.linein_th = 5000,
	.moist_cfg = { V_45_MV, I_3P0_UA },
};

static struct wcd9xxx_mbhc_config mbhc_cfg = {