ASoC: DAPM: Allow multiple mixer sources to be routed via the same switch
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 15 Aug 2011 18:15:21 +0000 (20:15 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 23:25:08 +0000 (08:25 +0900)
Currently it is only possible to route one source per switch into a mixer.
This patch modifies the code, so that it is possible to route multiple sources
into a mixer via the same switch. One use-case for this is routing a stereo
channel pair into a mono-mixer via the same switch.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c

Simple merge