projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01005a7
)
ASoC: dapm: Make sure all dapm contexts are updated
author
Liam Girdwood
<lrg@ti.com>
Fri, 6 Jul 2012 15:56:16 +0000
(16:56 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 18:05:07 +0000
(19:05 +0100)
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>
sound/soc/soc-dapm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index 114f2af5f3042d1e25e4fd5b36199d07cb155ee1..7c9cd276c2fc02fdbd10aa6e77fe408c4e0dfd70 100644
(file)
--- 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,
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;