[PATCH 02/19] ASoC: add soc-card.c

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu May 28 02:03:34 CEST 2020


Hi Ranjani

> > From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > 
> > Current ALSA SoC has some snd_soc_card_xxx() functions,
> > and card->xxx() callbacks.
> > But, it is implemented randomly at random place.
> > 
> > To collect all card related functions into one place,
> > this patch creats new soc-card.c.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > ---
(snip)
> >  #include <sound/soc-component.h>
> > +#include <sound/soc-card.h>
> Morimoto-san,
> 
> soc-card.h should be added where it is needed. For example, in this
> patch, it should be included in soc-card.c and in the following
> patches, it should be included in soc-core.c, soc-dapm.c etc where it
> is needed.

OK, will fixup in v2

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list