18 Apr
2023
18 Apr
'23
11:23 p.m.
Hi Amadeusz
In case of topology I'm not convinced that it is a good idea. You set link->codecs to point at global object, but if any of link modifies its link->codecs, which for example can happen in soc_tplg_dai_link_load() then all other link objects will point at modified value.
Thank you for pointing it. I see. Not only "platform" but "codecs" also might be modified on topology... I think we want to have such comment/note on the code. I will modify it on v2 patch.
Thank you for your help !!
Best regards --- Kuninori Morimoto