summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-14 07:30:10 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-14 07:30:09 -0700
commit4e6f40f24c5a6824b8e0970539b363b25c3dd8d6 (patch)
treee33a91e20a7190760206f9f55d0d061862330267
parent396203de3f108359a55781688320bd937f309186 (diff)
parent13feabf360f036b78a40ed38f79ffda6131f58db (diff)
Merge "ASoC: wcd9335: Initialize variables before use"
-rw-r--r--sound/soc/codecs/wcd9335.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c
index a2b7fb7a3bca..7ad3aeaa8fb7 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -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;