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

Commit aaeff713 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: Initialize val to avoid access garbage value"

parents 2a8e6504 6d2431b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -743,7 +743,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);