aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-12-14 05:18:30 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-15 13:00:41 -0500
commit8ddab3f5107c3955e70e87a632d4d179ddba1189 (patch)
tree639742e20df719e585f1f31896112fa08314f7a6 /include
parent656d4b1edeb32a87042caee5694603706e399929 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h1
-rw-r--r--include/sound/soc.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index aef975f47bad..2c1e0eed43d5 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -463,7 +463,6 @@ struct snd_soc_dapm_widget {
463/* DAPM context */ 463/* DAPM context */
464struct snd_soc_dapm_context { 464struct snd_soc_dapm_context {
465 struct list_head widgets; 465 struct list_head widgets;
466 struct list_head paths;
467 enum snd_soc_bias_level bias_level; 466 enum snd_soc_bias_level bias_level;
468 enum snd_soc_bias_level suspend_bias_level; 467 enum snd_soc_bias_level suspend_bias_level;
469 struct delayed_work delayed_work; 468 struct delayed_work delayed_work;
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 7e65b015f8dd..466895b627b5 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -661,6 +661,8 @@ struct snd_soc_card {
661 struct list_head platform_dev_list; 661 struct list_head platform_dev_list;
662 struct list_head dai_dev_list; 662 struct list_head dai_dev_list;
663 663
664 struct list_head paths;
665
664#ifdef CONFIG_DEBUG_FS 666#ifdef CONFIG_DEBUG_FS
665 struct dentry *debugfs_card_root; 667 struct dentry *debugfs_card_root;
666 struct dentry *debugfs_pop_time; 668 struct dentry *debugfs_pop_time;