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

Commit 128488ac authored by Venkata Narendra Kumar Gutta's avatar Venkata Narendra Kumar Gutta
Browse files

ASoC: msm: qdsp6v2: Fix mute/unmute issues in DSDA



Mute/unmute is not getting reflected in call that was
switched to ACTIVE from CALL_HOLD. lch_mode variable
is not reset after LCH_STOP is received is causing the
issue. Fix this issue by resetting the lch_mode when
LCH_STOP is received.

CRs-Fixed: 652400
Change-Id: Ide4a6a399accd84384199e723cdeabb722ab41e1
Signed-off-by: default avatarVenkata Narendra Kumar Gutta <vgutta@codeaurora.org>
parent 28024c52
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4345,6 +4345,9 @@ static int voice_lch_setup_vocproc(struct voice_data *v)
	if (ret < 0)
		pr_err("%s: voice volume failed %d\n", __func__, ret);

	/* Reset lch mode when VOICE_LCH_STOP is recieved */
	v->lch_mode = 0;

	ret = voice_send_stream_mute_cmd(v,
				VSS_IVOLUME_DIRECTION_TX,
				v->stream_tx.stream_mute,