ASoC: Move DAPM paths from DAPM context to snd_soc_card
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 14 Dec 2010 10:18:30 +0000 (12:18 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Dec 2010 18:00:41 +0000 (18:00 +0000)
commit8ddab3f5107c3955e70e87a632d4d179ddba1189
tree639742e20df719e585f1f31896112fa08314f7a6
parent656d4b1edeb32a87042caee5694603706e399929
ASoC: Move DAPM paths from DAPM context to snd_soc_card

Decoupling DAPM paths from DAPM context is a first prerequisite when
extending ASoC core to cross-device paths. This patch is almost a nullop and
does not allow to construct cross-device setup but the path clean-up part in
dapm_free_widgets is prepared to remove cross-device paths between a device
being removed and others.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
include/sound/soc.h
sound/soc/codecs/tlv320aic3x.c
sound/soc/soc-core.c
sound/soc/soc-dapm.c