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

Commit b2bfcfc7 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: Kona: Add support for moisture detection



Add support for moisture detection with duty cycle on WCD938x codec.

Change-Id: I1e5ceb39f031ea7f7efdd38706845b71b093a479
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent f57dd426
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -699,10 +699,11 @@ static struct wcd_mbhc_config wcd_mbhc_cfg = {
	.key_code[6] = 0,
	.key_code[7] = 0,
	.linein_th = 5000,
	.moisture_en = true,
	.moisture_en = false,
	.mbhc_micbias = MIC_BIAS_2,
	.anc_micbias = MIC_BIAS_2,
	.enable_anc_mic_detect = false,
	.moisture_duty_cycle_en = true,
};

static inline int param_is_mask(int p)