diff options
author | Lars-Peter Clausen | 2014-03-09 17:41:47 +0100 |
---|---|---|
committer | Mark Brown | 2014-03-10 12:17:54 +0000 |
commit | 1438c2f60ba955114cff3717f1a334878c7886a9 (patch) | |
tree | 838e16b20b2b89eee2d3f119fdec176c765919d5 /include/sound | |
parent | 6cc240f39d393c5878bc6cf053aa0fe8e3fe4260 (diff) |
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.h | 2 |
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 */ |