]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Add support for virtual mixer controls
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Oct 2013 11:43:49 +0000 (13:43 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 10:46:20 +0000 (11:46 +0100)
commitaa69470837bef95ebb63a3d72a447c2ee9c93a70
tree04c94ebed2f16c4fcd730292557cfad6479ef4b4
parent92fe722f57563be01c22849cabc8065ead20240d
ASoC: dapm: Add support for virtual mixer controls

This patch adds support for virtual DAPM mixer controls. They are similar to
virtual DAPM enums. There is no hardware register backing the control, so
changing the control's value wont have any direct effect on the hardware. But it
still influences the DAPM graph by causing the path it sits on to be connected
or disconnected. This in turn can cause power changes for some of the widgets on
the DAPM graph, which will then modify the hardware state.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc-dapm.h
include/sound/soc.h
sound/soc/soc-dapm.c