Re: [PATCH 11/11] ASoC: soc-topology.c: use asoc_dummy_dlc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux