Commit 9494fa26 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare Committed by Joonwoo Park
Browse files

ASoC: WCD9310: Fix continous fake interrupt while partial headset insertion



When the headset is inserted more than three quarter inside, the tip
of headset plug just touches the HPH Left line on Headset jack. This
causes an interrupt, but is identified as fake insertion interrupt,
since the headset is still not completely inserted and the microphone
voltage has not settled. This happens continously because after detecting
fake insert, the current logic re-enables insertion detection interrupt.

Once the fake insert interrupt is triggered, the HPH left schmitt trigger
is turned OFF and the MIC line schmitt trigger is turned ON. Hence the
continous interrupts do not occur anymore. Further detection happens
based on MIC line schmitt trigger until the headset is either
completely inserted or completely removed.

CRs-Fixed: 317673
Change-Id: I58f0cd5c6e5ee56348013e585fbb455d4d73efaa
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent b9599f1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment