Audio:Re-apply Cirrus' patch for hp detect
authoryaozm1 <yaozm1@lenovo.com>
Sat, 23 Mar 2019 06:56:17 +0000 (14:56 +0800)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:57 +0000 (20:23 +0300)
commitd3d65081dd9838298eda4f51a3f12214d348e3dd
treeb4db2e47cef339f2afc0241d33d9bb20a7f7da5a
parentf03ac2627e30cbfba1d06cad91aa9c19a4918bc0
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@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