Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d47637f5 authored by Aviral Gupta's avatar Aviral Gupta Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd_mbhc_v2: fix the device switch latency in voice call



The error logging adds the delay during the PA on and off
which results the high latency during the device switch.
Fix the issue by modifying it to debug logs.

CRs-Fixed: 749688
Change-Id: I9d83ba5916e749bf990dcb4636da81e8c615f763
Signed-off-by: default avatarAviral Gupta <aviralg@codeaurora.org>
parent a1208bee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ static void wcd_program_btn_threshold(const struct wcd_mbhc *mbhc, bool micbias)

		reg_val = (course << 5) | (fine << 2);
		snd_soc_update_bits(codec, reg_addr, 0xFC, reg_val);
		pr_err("%s: course: %d fine: %d reg_addr: %x reg_val: %x\n",
		pr_debug("%s: course: %d fine: %d reg_addr: %x reg_val: %x\n",
				__func__, course, fine, reg_addr, reg_val);
		reg_addr++;
	}