Re: [PATCH] ASoC: ti: Allocate dais dynamically for TDM and audio graph card

2021-01-27 Thread Tony Lindgren
* Péter Ujfalusi [210126 06:00]: > On 1/24/21 11:27 AM, Pavel Machek wrote: > > From: Tony Lindgren > > + for (i = 0; i < mcbsp->dai_count; i++) { > > + struct snd_soc_dai_driver *dai = >dais[i]; > > + > > + dai->name = devm_kasprintf(mcbsp->dev, GFP_KERNEL, "%s-dai%i", > >

Re: [PATCH] ASoC: ti: Allocate dais dynamically for TDM and audio graph card

2021-01-26 Thread Péter Ujfalusi
Hi Pavel, On 1/24/21 11:27 AM, Pavel Machek wrote: From: Tony Lindgren We can have multiple connections on a single McBSP instance configured with audio graph card when using TDM (Time Division Multiplexing). Let's allow that by configuring dais dynamically. Still we have _one_ DAI per

[PATCH] ASoC: ti: Allocate dais dynamically for TDM and audio graph card

2021-01-24 Thread Pavel Machek
From: Tony Lindgren We can have multiple connections on a single McBSP instance configured with audio graph card when using TDM (Time Division Multiplexing). Let's allow that by configuring dais dynamically. See Documentation/devicetree/bindings/sound/audio-graph-card.txt and