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:
Bhalchandra Gajare <gajare@codeaurora.org>
Loading
Please sign in to comment