[alsa-devel] [PATCH 09/12] ASoC: rsnd: enable SRC setting via DT

Kuninori Morimoto kuninori.morimoto.gx at gmail.com
Thu Jun 19 02:54:03 CEST 2014


Hi Sergei

> > @@ -640,6 +640,16 @@ static void rsnd_of_parse_src(struct platform_device *pdev,
> >   	info->src_info		= src_info;
> >   	info->src_info_nr	= nr;
> >
> > +	i = 0;
> > +	for_each_child_of_node(src_node, np) {
> > +		src_info = info->src_info + i;
> > +
> > +		of_property_read_u32(src_node, "convert-rate",
> 
>     Are you sure it's 'src_node' here, not 'np'?

Grr..
Nice catch !
Thank you for pointing it.
I will fix it in v2

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list