mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
f57dd4262b
commit
b2bfcfc756
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue