[alsa-devel] [PATCH] rcar: src: skip disabled-SRC nodes

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu May 12 02:41:50 CEST 2016


Hi

> The current device tree representation of the R-Car Sample Rate Converters
> (SRC) assumes that they are numbered consecutively, starting from 0. Alas,
> this  is not  the case with the R8A7794 SoC where SRC0 isn't present.  In
> order to keep the existing  device trees working, I'm suggesting to use a
> disabled node for SRC0.  Teach the SRC probe  to just skip disabled nodes.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
> 
> ---

Maybe best solution is caring DT's @ number (src at 0, src at 1, ...) somehow
but, it makes rsnd_src_probe() and other src related function complex code.
This can keep simple code. 

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>



More information about the Alsa-devel mailing list