[PATCH] ASoC: soc-core: add snd_soc_find_dai_with_mutex()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Aug 28 00:46:41 CEST 2020


Hi Mark

> > commit 25612477d20b52 ("ASoC: soc-dai: set dai_link dpcm_ flags with a helper")
> > added snd_soc_dai_link_set_capabilities().
> > But it is using snd_soc_find_dai() (A) which is required client_mutex (B).
> > And client_mutex is soc-core.c local.
> > 
> > 	struct snd_soc_dai *snd_soc_find_dai(xxx)
> > 	{
> > 		...
> > (B)		lockdep_assert_held(&client_mutex);
> > 		...
> > 	}
> > 
> > [...]
> 
> Applied to
> 
>    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> 
> Thanks!
> 
> [1/1] ASoC: soc-core: add snd_soc_find_dai_with_mutex()
>       commit: c1c277b2c425f69b9b4f4258d9db18562d9be041
(snip)
> This patch was originally "ASoC: soc-core: move snd_soc_dai_link_set_capabilities() to soc-core.c".
> This is for asoc/for-5.9 branch

Thank you for appling this patch.
I think it is added to for-5.10,
but is needed to for-5.9.

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list