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

Skip to content
Commit 1b94d9c7 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoC: wcd9330: Use different bit to get plug insertion/removal status



Currently we use pull down mic bit in mbhc status register
to determine plug insertion/removal. However this bit gets
changed only when mic pulldown is enabled otherwise this bit
will remain LOW even if the plug is inserted or removed. MBHC
status register also provides another bit value to reflect
the plug insertion or removal and this does not depend on the
mic pulldown status. Use this status bit to determine whether
plug is removed or inserted.

CRs-Fixed: 696243
Change-Id: Ic87e2df09268f7e7143c3c9f8227da1b85b82597
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent ac06b734
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