Re: [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-18 Thread Mark Brown
On Sat, Mar 15, 2014 at 12:09:39PM +0100, Jean-Francois Moine wrote: > The DAI link array and the properties (fmt, sysclk slots) are > hard-coded for a single CPU / CODEC link. Sorry, I dropped this patch - it conflicts with Nicolin's patch to force the two ends of the DAI link to have the same

Re: [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-18 Thread Mark Brown
On Sat, Mar 15, 2014 at 12:09:39PM +0100, Jean-Francois Moine wrote: The DAI link array and the properties (fmt, sysclk slots) are hard-coded for a single CPU / CODEC link. Sorry, I dropped this patch - it conflicts with Nicolin's patch to force the two ends of the DAI link to have the same

Re: [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Mark Brown
On Sat, Mar 15, 2014 at 12:09:39PM +0100, Jean-Francois Moine wrote: > The DAI link array and the properties (fmt, sysclk slots) are > hard-coded for a single CPU / CODEC link. Applied, thanks. signature.asc Description: Digital signature

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jyri Sarha
On 03/17/2014 12:23 PM, Jean-Francois Moine wrote: Jyri, No, this would not work. The DAI link in the struct snd_soc_card is an array of struct snd_soc_dai_link. There cannot be anything between the elements! Oh.. did not go deep enough. Forget about this comment. Best regards, Jyri -- To

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jean-Francois Moine
On Mon, 17 Mar 2014 11:29:42 +0200 Jyri Sarha wrote: > On 03/15/2014 01:09 PM, Jean-Francois Moine wrote: > > 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 > >

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jyri Sarha
On 03/15/2014 01:09 PM, Jean-Francois Moine wrote: 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:

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jyri Sarha
On 03/15/2014 01:09 PM, Jean-Francois Moine wrote: 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:

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jean-Francois Moine
On Mon, 17 Mar 2014 11:29:42 +0200 Jyri Sarha jsa...@ti.com wrote: On 03/15/2014 01:09 PM, Jean-Francois Moine wrote: 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

Re: [alsa-devel] [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Jyri Sarha
On 03/17/2014 12:23 PM, Jean-Francois Moine wrote: Jyri, No, this would not work. The DAI link in the struct snd_soc_card is an array of struct snd_soc_dai_link. There cannot be anything between the elements! Oh.. did not go deep enough. Forget about this comment. Best regards, Jyri -- To

Re: [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-17 Thread Mark Brown
On Sat, Mar 15, 2014 at 12:09:39PM +0100, Jean-Francois Moine wrote: The DAI link array and the properties (fmt, sysclk slots) are hard-coded for a single CPU / CODEC link. Applied, thanks. signature.asc Description: Digital signature

[PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-15 Thread Jean-Francois Moine
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 --- sound/soc/generic/simple-card.c | 49

[PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-15 Thread Jean-Francois Moine
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 moin...@free.fr ---