diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 76eeff8b4a5c..6d55ab029541 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -735,7 +735,7 @@ static void dapm_set_mixer_path_status(struct snd_soc_dapm_path *p, int i) unsigned int max = mc->max; unsigned int mask = (1 << fls(max)) - 1; unsigned int invert = mc->invert; - unsigned int val; + unsigned int val = 0; if (reg != SND_SOC_NOPM) { soc_dapm_read(p->sink->dapm, reg, &val);