]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitcf7dc23cbfd5c4c5ab2136f19522d9b3b41acf99
tree39df7ae9eed7c8d9305e75f9a478332f2bb8392c
parent46c39cae292fd691f32e573e6c2c854e36614c93
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