]> git.baikalelectronics.ru Git - kernel.git/commit
rcar: src: skip disabled-SRC nodes
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 11 May 2016 22:36:40 +0000 (01:36 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 12 May 2016 14:30:29 +0000 (15:30 +0100)
commit6f0c28be8213bf4f18e94fdcbf7ee3044ccbb968
tree762b42fba6fee43d210f83817d3dcbdb45802d4a
parent42357d36c645eae31e32111d7e86272ea4376af7
rcar: src: skip disabled-SRC nodes

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@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/src.c