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)
commitb5719eeb90ac26f20d0469a9c19eaebc047a8204
tree3dc2689a976e3514e15b3b65cfba1b3b7936f5d7
parent2eba70aad149c3d8c4b0d883b1460d76722a85e9
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@mt.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