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

Commit 13feabf3 authored by Karthikeyan Mani's avatar Karthikeyan Mani Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd9335: Initialize variables before use



Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I719bb13acb1ae8a9654604d251f728d98cffe936
Signed-off-by: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent 9898f867
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4945,7 +4945,7 @@ static int tasha_codec_enable_spline_src(struct snd_soc_codec *codec,
					 int src_num,
					 int event)
{
	u16 src_paired_reg;
	u16 src_paired_reg = 0;
	struct tasha_priv *tasha;
	u16 rx_path_cfg_reg = WCD9335_CDC_RX1_RX_PATH_CFG0;
	u16 rx_path_ctl_reg = WCD9335_CDC_RX1_RX_PATH_CTL;