提交 da83fea6 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

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: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 d0e639c9
...@@ -1840,6 +1840,7 @@ static int dapm_power_widgets(struct snd_soc_card *card, int event) ...@@ -1840,6 +1840,7 @@ static int dapm_power_widgets(struct snd_soc_card *card, int event)
*/ */
switch (w->id) { switch (w->id) {
case snd_soc_dapm_siggen: case snd_soc_dapm_siggen:
case snd_soc_dapm_vmid:
break; break;
case snd_soc_dapm_supply: case snd_soc_dapm_supply:
case snd_soc_dapm_regulator_supply: case snd_soc_dapm_regulator_supply:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册