Re: [PATCH v3 6/8] ASoC: soc-pcm: call snd_soc_component_open/close() once

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

 



Hi Pierre-Louis, Mark

> > Maybe a red-herring but is there a potential for race conditions here if
> > that function is called twice from different places? Don't we need some sort
> > of lock for all the new flags introduced here?
> 
> The probe stuff is all going to get pretty upset if it's called from
> multiple paths already.

Hmm.. indeed we need to consider about it.
But I think it can/should/will be incremental patch.
Thank you for pointing it.

Thank you for your help !!
Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[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