Extcon:Don't report lineout device if mic detected
authoryaozm1 <yaozm1@lenovo.com>
Thu, 16 May 2019 02:55:04 +0000 (10:55 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:02 +0000 (17:37 +0800)
commita0de0a197f61035510644b9c3e67766bd657c44f
tree3dc2689a976e3514e15b3b65cfba1b3b7936f5d7
parent3add02351b52cb8724dcf2601d4bc8a952dfc931
Extcon:Don't report lineout device if mic detected

We see some case device with mic reported high
impedance, and reported as un-expected lineout.

Change-Id: Ic3b16a245b2ca411bcfe277f76ca86d3a680067f
Signed-off-by: yaozm1 <yaozm1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1355467
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
drivers/extcon/extcon-madera.c