Extcon: Fix mic high level of noise.
authorWen Xie <xiewen3@motorola.com>
Tue, 28 May 2019 03:14:34 +0000 (11:14 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:32:05 +0000 (17:32 +0800)
commitff1413ffa5acbb92eb11b8b25f807673441a43f2
treecc083e76fc114d1c9803fe2252070693fefadc72
parentff5171e02d77f34cd25e44800ceefa1d0fb806f5
Extcon: Fix mic high level of noise.

cirrus vendor patch:
Fix mic high level of noise Set MICD_RATE and
POLARITY_INV bit to 0 when a headset with mic is plugged in and set it in a
Defenderault state at removail.

Change-Id: I7ed17ef425cc3e9e0d03541996e9ea1427ee8013
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1362099
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
drivers/extcon/extcon-madera.c