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

Daniel Baluta daniel.baluta at nxp.com
Tue Feb 25 14:39:43 CET 2020


On 25.02.2020 15:29, Fabio Estevam wrote:
> On Tue, Jan 28, 2020 at 11:47 AM Daniel Baluta (OSS)
> <daniel.baluta at oss.nxp.com> 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.



More information about the Alsa-devel mailing list