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

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

ASoC: wcd: correct the swap plug type detection



For swap plug type detection, only if it's detected as swap type
for four consecutive times, it will be set as swap. If there is
some problem during the detection, the longest mis-operation
period we can wait for is also four-consecutive-time detection.
So even if there is some unexpected behavior like HPH PA being
turned on, the fourth detection won't become the singular decisive
one.

CRs-Fixed: 806833

Change-Id: Icdb9d8e222b8cd9cb239deddfc637d6b874ad819
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 12e372fa
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