Audio:Re-apply Cirrus' patch for hp detect
authoryaozm1 <yaozm1@lenovo.com>
Sat, 23 Mar 2019 06:56:17 +0000 (14:56 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:24:52 +0000 (11:24 +0800)
commite475377d95ca9b073a94d52cfd6c22055b2adde6
tree6918634faa830d18481f4d94301b316d2ac95caa
parent3eaab809ec9e7796d24b02891dc9c2cfe3c7df8f
Audio:Re-apply Cirrus' patch for hp detect

Force EP demux over to headphones to run HPDET
Add invert logic clamp.
Set clamp Defenderault value to true.

Change-Id: Ib4202e2d226e5585506acdf114c3056b60ab8d2b
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1326172
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
include/linux/mfd/madera/core.h
sound/soc/codecs/madera.c