Re: [PATCH] rcar: src: skip disabled-SRC nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> 
> ---

Maybe best solution is caring DT's @ number (src@0, src@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@xxxxxxxxxxx>

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux