Re: [PATCH] ASoC: fsl: Add generic CPU DAI driver

From: Daniel Baluta
Date: Tue Feb 25 2020 - 08:39:49 EST


On 25.02.2020 15:29, Fabio Estevam wrote:
> On Tue, Jan 28, 2020 at 11:47 AM Daniel Baluta (OSS)
> <daniel.baluta@xxxxxxxxxxx> wrote:
>
>> +static struct snd_soc_dai_driver fsl_esai_dai = {
>> + .name = "esai0",
>> +};
>> +
>> +static struct snd_soc_dai_driver fsl_sai_dai = {
>> + .name = "sai1",
> So the name will be hardcoded to sai1 even if SAI2, SAI3, etc is used?


Indeed this is a good point. In our use case with DSP we are only using
SAI1/ESAI0 for now.

Let me try to get a more generic approach and resend.


thanks,

Daniel.