[alsa-devel] [PATCH] rcar: src: skip disabled-SRC nodes
Sergei Shtylyov
sergei.shtylyov at cogentembedded.com
Thu May 12 21:30:22 CEST 2016
Hello.
I'm now seeing I have unintended dash between words in the subject. Should
I resend?
On 05/12/2016 03:41 AM, Kuninori Morimoto wrote:
>> 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
Thought about it too... as well as adding an optional "reg" property.
> 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>
Thank you.
MBR, Sergei
More information about the Alsa-devel
mailing list