ASoC: dapm: Make sure all dapm contexts are updated
PATCH 1/1 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 <[email protected]>
--- sound/soc/soc-dapm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/soc-dapm.c +3 -3
@@ -291,9 +291,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 - dapm->bias_level = level; - } + }else + dapm->bias_level = level; +if (ret !=0 ) goto out;
Signature · 1 line
1.7.9.5
Mark Brown
AppliedQuoted 2 lines · Liam Girdwood
Make sure we set the bias level for all DAPM contexts when changing level.
Applied, thanks.