[alsa-devel] [PATCH v2 2/4] ASoC: hdmi-codec: remove reference to the current substream

Jerome Brunet jbrunet at baylibre.com
Thu May 9 10:11:48 CEST 2019


On Wed, 2019-05-08 at 17:57 +0900, Mark Brown wrote:
> > Another solution would be to use the mutex as the 'busy' flag.
> > Get the ownership of the hdmi using try_lock() in startup() and
> > release it in shutdown()
> 
> > Would you have a preference Mark ? 
> 
> Probably using a mutex for the flag is clearer.  I'd rather keep things
> as simple as absolutely possible to avoid people making mistakes in
> future.

Hi Mark,

I received a notification that you applied this patch.
Just to confirm, you expect a follow up patch to re-introduce the mutex, right ?

Thanks
Jerome



More information about the Alsa-devel mailing list