Extcon:Don't report lineout device if mic detected
authoryaozm1 <yaozm1@lenovo.com>
Thu, 16 May 2019 02:55:04 +0000 (10:55 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:32:04 +0000 (17:32 +0800)
commitb0ec9a322cff3159d2dbd619b6c196c0a04e3594
treeb178fec12d424f75a5804f626f2c5f1ab4610703
parent345551264cfc11566411b0c5a9477652e84e30e9
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