-----Original Message----- From: Liam Girdwood [mailto:liam.r.girdwood@linux.intel.com] Sent: Friday, May 25, 2018 4:54 PM To: Jie, Yang yang.jie@intel.com; Ranjani Sridharan ranjani.sridharan@linux.intel.com; Keyon Jie yang.jie@linux.intel.com; sound-open-firmware@alsa-project.org Cc: Pierre-Louis Bossart pierre-louis.bossart@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:
- 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.
- 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