[alsa-devel] [PATCH 06/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_dailink_name()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Jun 30 07:32:37 CEST 2016


Hi Mark

> > From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > 
> > Current simple-card is creating dai_link->name / dai_link->stream_name.
> > These are based on CPU + Codec name.
> > It can be "fe.CPU" or "be.Codec" if it was DPCM.
> > This patch adds simple card common function for it.
> 
> This looks like it's about putting DPCM into the DT.  Given that DPCM is
> very much an implementation detail we're trying to get rid of this seems
> like it's going in the wrong direction.  What's the intended use?

My rsrc-card already supporting DPCM on DT.
This function is for name setting, for both DPCM card and normal simple-card.
It doesn't related to DPCM feature, just for name.
simple-card name will be created from CPU/Codec dai name, then,
we need to allocate memory for it, and dai_link name setting
So, this is for it.


More information about the Alsa-devel mailing list