On 11/7/19 6:18 AM, Paul Olaru wrote:
On the i.MX platform, the SAI and ESAI DAIs require the direction (whether it's playback or capture) to be able to correctly decide which DMA channel is to be used (the channels differ between playback and capture). I have just made a simple modification to the pipeline to also have a record pipeline on the ESAI and I'm getting an error due to attempting to request channel 7 (Playback) twice. It seems that dai_config is called twice within the same IPC request (once for each instance of the DAI) and in both cases with the same direction too.
I vaguely recall the kernel sends the dai config for each direction. Ranjani might recall better than me...
What would be the best approach with this one?
I have attached the diff with my current attempt to adding that record pipeline. Perhaps something is wrong with that?
I don't see a diff, not sure if you forgot it or if the mail server removes it.