mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "ASoC: wcd-mbhc: Disable moisture detect threshold if duty cycle disabled"
This commit is contained in:
commit
ec24d856d7
1 changed files with 1 additions and 2 deletions
|
|
@ -1419,8 +1419,7 @@ static int wcd_mbhc_initialise(struct wcd_mbhc *mbhc)
|
|||
if (mbhc->mbhc_cfg->moisture_en && mbhc->mbhc_cb->mbhc_moisture_config
|
||||
&& !mbhc->mbhc_cfg->moisture_duty_cycle_en)
|
||||
mbhc->mbhc_cb->mbhc_moisture_config(mbhc);
|
||||
else if (mbhc->mbhc_cfg->moisture_duty_cycle_en &&
|
||||
mbhc->mbhc_cb->mbhc_moisture_detect_en)
|
||||
else if (mbhc->mbhc_cb->mbhc_moisture_detect_en)
|
||||
mbhc->mbhc_cb->mbhc_moisture_detect_en(mbhc, false);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue