[Sound-open-firmware] about SOF 1.2 topology support

Keyon Jie yang.jie at linux.intel.com
Thu May 31 04:11:03 CEST 2018



On 2018年05月29日 23:31, Liam Girdwood wrote:
> On Tue, 2018-05-29 at 13:26 +0800, Keyon Jie wrote:
>> I mean that in snd_soc_register_dais(), it require dai_drv array for
>> count > 1 case, so when setting num_dai > 1, there will be mismatch here
>> and memory invalid access here:
>>
>> soc_add_dai(component, dai_drv + i,
>>                                  count == 1 && legacy_dai_naming)
> 
> An array of 1 ?

I prefer to change it to a pointer as it is not at the end of the structure.

Thanks,
~Keyon

> 
> Liam
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
> 


More information about the Sound-open-firmware mailing list