[alsa-devel] [PATCH v2] ASoC: simple-card: cpu_dai_name creates confusion when DT case

Kuninori Morimoto kuninori.morimoto.gx at gmail.com
Fri Feb 28 05:31:45 CET 2014


Hi Mark

> > +	 * see
> > +	 *	fmt_single_name()
> > +	 *	fmt_multiple_name()
> > +	 */
> > +	dai_link->cpu_dai_name = NULL;
> > +
> 
> Why do this by overwriting rather than at the point where the variable
> gets assigned?

Do you mean why I did it end of asoc_simple_card_parse_of() ?
Because this cpu_dai_name itself is used for
dai_link->name, dai_link->stream_name;
This patch set NULL after that.



More information about the Alsa-devel mailing list