ASoC: wcd: Add polling for proper headphone detection
When we insert headphone slowly, it may be detected as HEADSET
incorrectly.
So when we detect the HEADSET type, report it first and then schedule
the polling for it. If then button press interrupt is triggered
without corresponding button release paired, correct it to headphone.
CRs-Fixed: 678536
Change-Id: I82a043bf3ccccd956a79b9a96d393a9c0f46e8da
Signed-off-by:
Walter Yang <yandongy@codeaurora.org>
Loading
Please register or sign in to comment