summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-09 17:41:47 +0100
committerMark Brown <broonie@linaro.org>2014-03-10 13:17:54 +0100
commit1438c2f60ba955114cff3717f1a334878c7886a9 (patch)
tree838e16b20b2b89eee2d3f119fdec176c765919d5 /include/sound
parentASoC: Pass CODEC to snd_soc_register_dais() (diff)
downloadlinux-1438c2f60ba955114cff3717f1a334878c7886a9.tar.xz
linux-1438c2f60ba955114cff3717f1a334878c7886a9.zip
ASoC: Add a per component dai list
Now that every DAI has a component we can track the DAIs on a per component basis. This simplifies the DAI lookup when we are only interested in DAIs of a specific component and also makes it possible to have multiple components with the same parent device and also register DAIs. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index b14acd8228ab..37b470c1e127 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -671,6 +671,8 @@ struct snd_soc_component {
int num_dai;
const struct snd_soc_component_driver *driver;
+
+ struct list_head dai_list;
};
/* SoC Audio Codec device */