Skip to content

Commit

Permalink
ASOC:Patch from cirrus to fix sound loss issue
Browse files Browse the repository at this point in the history
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 <yaozm1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1295665
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
  • Loading branch information
yaozm1 authored and ananjaser1211 committed Jun 4, 2024
1 parent 8605489 commit 39fc5a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/extcon/extcon-madera.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,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;
Expand Down Expand Up @@ -763,6 +764,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,
Expand Down

0 comments on commit 39fc5a8

Please sign in to comment.