31 May
2018
31 May
'18
4:11 a.m.
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@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware