[PATCH 1/5] ASoC: soc-link: introduce exit() callback
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue Jun 23 01:54:20 CEST 2020
Hi Pierre-Louis
> The exit() is invoked in soc_remove_pcm_runtime(), which is not
> completely symmetric with the init() invoked in soc_init_pcm_runtime().
(snip)
> @@ -945,6 +945,9 @@ void snd_soc_remove_pcm_runtime(struct snd_soc_card *card,
> {
> lockdep_assert_held(&client_mutex);
>
> + /* release machine specific resources */
> + snd_soc_link_exit(rtd);
I can understand that 100% symmetric calling init()/exit() is difficult.
So we can't help it this time. But if so, it is easy to notice that
this .exit() is the one of non-symmetric if it has such comment.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list