]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Ignore VMID widgets for target bias
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 5 Oct 2013 17:26:17 +0000 (19:26 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 10:33:41 +0000 (11:33 +0100)
commit92fe722f57563be01c22849cabc8065ead20240d
tree092cbda60831aefb8d29767ff79f2e3bc65c4b78
parentbc25b6c102b413f911b5083264004c34f7e58e6c
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>
sound/soc/soc-dapm.c