[PATCH 1/7] ASoC: add soc-link.c
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue May 19 06:20:52 CEST 2020
Hi Ranjani
> > From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> >
> > Current ALSA SoC has many dai_link->xxx() functions.
> > But, it is implemented randomly at random place.
> >
> > This patch creates new soc-link.c to collect dai_link related
> > operation into it.
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > ---
(snip)
> > #include <sound/soc-component.h>
> > +#include <sound/soc-link.h>
> Why do we need to include this in soc.h? Is it to ensure that soc-
> link.h included in all files that include soc.h?
>
> I think the right way to do this would be include soc-link.h where it
> is needed, say for example in soc-pcm.c etc.
OK.
Will check and update it in v2
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list