[PATCH 1/5] ASoC: soc-link: introduce exit() callback
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Jun 25 01:25:00 CEST 2020
Hi Pierre-Louis
> >> + /* 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.
>
> Sorry Morimoto-san, I don't understand your last sentence.
> Were you suggesting to reword the "release machine specific resources"
> comment above, or add a comment in the snd_soc_link_exit() definition,
> or something else altogether?
> I don't mind sending an update if you feel that makes the core more
Sorry for my unclear comment.
I want to have is something like this
/*
* release machine specific resources
*
* Note
* This is pair of snd_soc_link_init() which is called at ...
* Because ... these are not symmetric called ...
*/
snd_soc_link_exit(rtd);
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list