aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-07-06 11:56:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-06 14:05:07 -0400
commit4123128ee4854a955dd4a94b31991f8cc38c9b5e (patch)
treea996124b158125553e2045c6c5cf7880aad64651 /sound
parent01005a729a17ab419f61a366e22f3419e7a2c3fe (diff)
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 114f2af5f304..7c9cd276c2fc 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -288,9 +288,9 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_dapm_context *dapm,
288 if (dapm->codec->driver->set_bias_level) 288 if (dapm->codec->driver->set_bias_level)
289 ret = dapm->codec->driver->set_bias_level(dapm->codec, 289 ret = dapm->codec->driver->set_bias_level(dapm->codec,
290 level); 290 level);
291 else 291 } else
292 dapm->bias_level = level; 292 dapm->bias_level = level;
293 } 293
294 if (ret != 0) 294 if (ret != 0)
295 goto out; 295 goto out;
296 296