ASoC: Fix prefixing of DAPM controls by factoring prefix into snd_soc_cnew()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Mar 2011 17:23:24 +0000 (17:23 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Mar 2011 18:56:35 +0000 (18:56 +0000)
commitefb7ac3f9c28fcb379c51f987b63174f727b7453
tree0da50b269bc9f6fc9832144d9cc8ea4a64bc7b9f
parentc4ef87867b42bd1fa7d6dacaa28bf07cf741a724
ASoC: Fix prefixing of DAPM controls by factoring prefix into snd_soc_cnew()

Currently will ignore prefixes when creating DAPM controls. Since currently
all control creation goes through snd_soc_cnew() we can fix this by factoring
the prefixing into that function.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c