summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-10-05 13:26:17 -0400
committerMark Brown <broonie@linaro.org>2013-10-07 06:33:41 -0400
commitda83fea6122ea637be5f960b95bb599561617319 (patch)
tree092cbda60831aefb8d29767ff79f2e3bc65c4b78 /sound/soc/soc-dapm.c
parentd0e639c9e06d44e713170031fe05fb60ebe680af (diff)
ASoC: dapm: Ignore VMID widgets for target bias
VMID widgets behave very similar to signal generator widgets. Both are always considered to be powered up. This means that we need to ignore the VMID widgets in the same way as signal generator widgets when calculating the DAPM context's target bias level. Otherwise the presence of a VMID widget, regardless whether it is on an active path or not, will cause the DAPM context to be powered up. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index c17c14c394df..177f8a1938da 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1840,6 +1840,7 @@ static int dapm_power_widgets(struct snd_soc_card *card, int event)
1840 */ 1840 */
1841 switch (w->id) { 1841 switch (w->id) {
1842 case snd_soc_dapm_siggen: 1842 case snd_soc_dapm_siggen:
1843 case snd_soc_dapm_vmid:
1843 break; 1844 break;
1844 case snd_soc_dapm_supply: 1845 case snd_soc_dapm_supply:
1845 case snd_soc_dapm_regulator_supply: 1846 case snd_soc_dapm_regulator_supply: