[Sound-open-firmware] about multiple BE dai_links support

Jie, Yang yang.jie at intel.com
Fri May 25 15:30:55 CEST 2018


>-----Original Message-----
>From: Liam Girdwood [mailto:liam.r.girdwood at linux.intel.com]
>Sent: Friday, May 25, 2018 4:54 PM
>To: Jie, Yang <yang.jie at intel.com>; Ranjani Sridharan
><ranjani.sridharan at linux.intel.com>; Keyon Jie <yang.jie at linux.intel.com>;
>sound-open-firmware at alsa-project.org
>Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
>Subject: Re: [Sound-open-firmware] about multiple BE dai_links support
>
>On Thu, 2018-05-24 at 13:54 +0000, Jie, Yang wrote:
>> > > 1. What will the ID be? Could it be the same as the port number?
>>
>> Yes, it could be same, and could be different also.
>
>This breaks when we have SSP0 and DMIC0

In this case, the ID is different with port number.

>
>>
>> > > 2. Pierre brought this up in another email, will the ID's be
>> > > sequential  across different DAI types? Or will they start at 0?
>>
>> In my opinion, it is more important that this ID should be unique,
>> usually we will make them sequential and start at 0, but
>> theoretically, it is not mandatory, nothing can prevent you using ids like 1, 3, 5,
>6, 8,...
>
>IDs are aligned 1:1 to BE DAI links so must be unique. They should start at 0 and I

Agree.

>would not expect to see gaps.

That's OK, let's note about this and don't allocate them with gaps in machine driver then.

Thanks,
~Keyon

>
>Liam


More information about the Sound-open-firmware mailing list