Commit a9444454 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

ASoC: wcd9310: Sync headphone/headset PA state



Upon headphone/headset removal, CODEC driver goes ahead disable
PA and RDAC to avoid fake insertion detection.
If userspace receives headphone/headset removal event followed
by insertion event quickly, user can miss earlier removal event so
it thinks later insertion event is also meaningless.
As a result PA and DAC are never turned on by user again.
Fixes to catch if previous removal event was handled by userspace to
enable PA and DAC from kernel if it wasn't.

CRs-Fixed: 318567
Change-Id: I8101bf18b4d42ebeee00b85be061083af2abbb04
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 8b1f0980
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment