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: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
01005a729a
commit
4123128ee4
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
if (dapm->codec->driver->set_bias_level)
|
||||||
ret = dapm->codec->driver->set_bias_level(dapm->codec,
|
ret = dapm->codec->driver->set_bias_level(dapm->codec,
|
||||||
level);
|
level);
|
||||||
else
|
} else
|
||||||
dapm->bias_level = level;
|
dapm->bias_level = level;
|
||||||
}
|
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue