ASoC: Kona: Add support for moisture detection
Add support for moisture detection with duty cycle on WCD938x codec. Change-Id: I1e5ceb39f031ea7f7efdd38706845b71b093a479 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
@@ -699,10 +699,11 @@ static struct wcd_mbhc_config wcd_mbhc_cfg = {
|
|||||||
.key_code[6] = 0,
|
.key_code[6] = 0,
|
||||||
.key_code[7] = 0,
|
.key_code[7] = 0,
|
||||||
.linein_th = 5000,
|
.linein_th = 5000,
|
||||||
.moisture_en = true,
|
.moisture_en = false,
|
||||||
.mbhc_micbias = MIC_BIAS_2,
|
.mbhc_micbias = MIC_BIAS_2,
|
||||||
.anc_micbias = MIC_BIAS_2,
|
.anc_micbias = MIC_BIAS_2,
|
||||||
.enable_anc_mic_detect = false,
|
.enable_anc_mic_detect = false,
|
||||||
|
.moisture_duty_cycle_en = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline int param_is_mask(int p)
|
static inline int param_is_mask(int p)
|
||||||
|
Reference in New Issue
Block a user