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

Commit dcc84d6f authored by Meng Wang's avatar Meng Wang
Browse files

asoc: wcd-mbhc: report headset when it's not reported



During bootup and headset inserted, headset may first
detect as GND_MIC swap type and not report. During three
seconds polling, it's corrected as headset or headphone.
When wrk_complete is false, it will not report to userspace.
When current_plug is MBHC_PLUG_TYPE_NONE, report headset or
headphone to userspace.

Change-Id: I63394f1704c34cf355f0f4b0c33959332a69a639
Signed-off-by: default avatarMeng Wang <mengw@codeaurora.org>
parent c0411d8c
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