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>
Sun, 7 Feb 2021 09:37:00 +0000 (17:37 +0800)
commita094bf2b77ce63a68ce3ec53fb7cbc06fb8b8723
tree7a9b21fcf2208f31466f76240394b4ef0689cac7
parent6c923703401f6c99304d4e5d35e543348fe2cf20
Audio:Re-apply Cirrus' patch for hp detect

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

Change-Id: Ib4202e2d226e5585506acdf114c3056b60ab8d2b
Signed-off-by: yaozm1 <yaozm1@lenovo.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