]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: dynamically allocate the DAI link and properties
authorJean-Francois Moine <moinejf@free.fr>
Thu, 20 Mar 2014 09:52:41 +0000 (10:52 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 25 Mar 2014 18:09:20 +0000 (18:09 +0000)
commitb0772ddf0f613a6fb77925c30757a9f88d9120f9
tree39df7ae9eed7c8d9305e75f9a478332f2bb8392c
parentd1df6b93d47dd4b79f1460cf4c367270cb3daddf
ASoC: simple-card: dynamically allocate the DAI link and properties

The DAI link array and the properties (fmt, sysclk slots) are
hard-coded for a single CPU / CODEC link.

This patch dynamically allocates the DAI link array and the
properties with the aim of supporting many DAI links.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c