[alsa-devel] [PATCH] ASoC: dapm: Make sure all dapm contexts are updated
6 Jul
2012
6 Jul
'12
5:56 p.m.
Make sure we set the bias level for all DAPM contexts when changing level.
Signed-off-by: Liam Girdwood lrg@ti.com --- sound/soc/soc-dapm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 912330b..0f078de 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -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;
--
1.7.9.5
4552
Age (days ago)
4552
Last active (days ago)
1 comments
2 participants
participants (2)
-
Liam Girdwood
-
Mark Brown