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

Commit 4123128e authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown
Browse files

ASoC: dapm: Make sure all dapm contexts are updated



Make sure we set the bias level for all DAPM contexts when
changing level.

Signed-off-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 01005a72
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -288,9 +288,9 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm,
		if (dapm->codec->driver->set_bias_level)
			ret = dapm->codec->driver->set_bias_level(dapm->codec,
								  level);
		else
	} else
		dapm->bias_level = level;
	}

	if (ret != 0)
		goto out;