commit | 946d92a100f6c36b1c53922d5105b3c19a59173d | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Mon Aug 12 23:28:42 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Tue Aug 13 10:19:57 2013 +0100 |
tree | 87dbb9ac2103b823c1f2ef85a8612bc687e8d817 | |
parent | f2e537425a6eae2d70ece5f62c26611f316b70f9 [diff] |
ASoC: dapm: Don't create routes when creating kcontrols Attempting to create the route as part of adding a mux control causes us to attempt to add the same route twice since we loop over all sources for the mux after creating the control. Instead do the addition in the callers. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de>