ASoC: rcar: skip disabled-SSI nodes
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 2 Oct 2017 07:37:32 +0000 (07:37 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 3 Oct 2017 16:51:40 +0000 (09:51 -0700)
commit9e9e95df06433b4f89cfeef0003af091ee0ebc86
tree3ccfd176bd400cbbc5efe0660e794b2e0eaee4af
parentb7165d26bf730567ab081bb9383aff82cd43d9ea
ASoC: rcar: skip disabled-SSI nodes

The current device tree representation of the R-Car SSI assumes that they
are numbered consecutively, starting from 0. Alas, this is not the case
with the R8A77995 (D3) SoC which SSI1/SSI2 aren't present. In order to
keep the existing device trees working, I'm suggesting to use a disabled
node for SSI0/SSI1. Teach the SSI probe to just skip disabled nodes.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c