From: yaozm1 Date: Thu, 17 Jan 2019 02:16:48 +0000 (+0800) Subject: ASOC:Patch from cirrus to fix sound loss issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1dcbe40761f3f441f934ae53b3fc1f37468d8b07;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASOC:Patch from cirrus to fix sound loss issue extcon: madera: Don't clamp manually on cs47l35 There is no reason to manually clamp on cs47l35 the automatic clamping is perfectly functional. This fix the issue for sound loss during voice call when hs is frequently inserted/removed. Change-Id: I0fbd9113f7670d236f93b04034cfc385fdf736cc Signed-off-by: yaozm1 Reviewed-on: https://gerrit.mot.com/1295665 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/drivers/extcon/extcon-madera.c b/drivers/extcon/extcon-madera.c index 1a00044d2d48..863b031fc465 100755 --- a/drivers/extcon/extcon-madera.c +++ b/drivers/extcon/extcon-madera.c @@ -794,6 +794,7 @@ static void madera_extcon_hp_clamp(struct madera_extcon *info, bool clamp) switch (madera->type) { case CS47L35: + break; case CS47L85: case WM1840: edre_reg = MADERA_EDRE_MANUAL; @@ -847,6 +848,7 @@ static void madera_extcon_hp_clamp(struct madera_extcon *info, bool clamp) switch (madera->type) { case CS47L35: + break; case CS47L85: case WM1840: ret = regmap_update_bits(madera->regmap,