ASoC: wcd-mbhc: Remove max impedance limit for lineout detection
Max limit of 60k ohms was set for cable to be detected as lineout to fix headset detected as lineout issue on legacy targets. This was because of large impedance detected for headset. This is not applicable for adc based targets as headset is detected based on mic adc voltage. Remove max impedance limit for lineout detection. Change-Id: If73bbe2cd78d04d1fcb359a3e5ed5cd69f3ab9f0 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
018a061578
incheckning
cd339694c5
@@ -691,10 +691,8 @@ void wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion,
|
||||
&mbhc->zl, &mbhc->zr);
|
||||
WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_FSM_EN,
|
||||
fsm_en);
|
||||
if ((mbhc->zl > mbhc->mbhc_cfg->linein_th &&
|
||||
mbhc->zl < MAX_IMPED) &&
|
||||
(mbhc->zr > mbhc->mbhc_cfg->linein_th &&
|
||||
mbhc->zr < MAX_IMPED) &&
|
||||
if ((mbhc->zl > mbhc->mbhc_cfg->linein_th) &&
|
||||
(mbhc->zr > mbhc->mbhc_cfg->linein_th) &&
|
||||
(jack_type == SND_JACK_HEADPHONE)) {
|
||||
jack_type = SND_JACK_LINEOUT;
|
||||
mbhc->force_linein = true;
|
||||
|
Referens i nytt ärende
Block a user