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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Feb 12 02:16:15 CET 2020


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.

Is it OK for you ?
Or, do we need v4 patch ?

Thank you for your help !!
Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list