Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6e180115 authored by Walter Yang's avatar Walter Yang Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd: correct handling of GND_MIC_SWAP type detection



In current hardware MBHC, if there is no gpio setting for swap
switch and we insert a EURO headset into a US jack, it will be
detected as HEADSET finally. Make the change to set the plug
type as GND_MIC_SWAP when the swap counter reaches
GND_MIC_SWAP_THRESHOLD.

CRs-Fixed: 793061
Change-Id: I74cc80343f466367b03d7c7fabefe1009fa08727
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 3a5f0566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment