Audio:Re-apply Cirrus' patch for hp detect
authoryaozm1 <yaozm1@lenovo.com>
Sat, 23 Mar 2019 06:56:17 +0000 (14:56 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:31:58 +0000 (17:31 +0800)
commite0d9a12cd5f9cfaa8eabd6828cfdab77f2619b86
treec995fadb9bc52c47897052100eb537f529394ec2
parente641e002ea901f48b4bd0533cdea3facd1647778
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