ASoC: core: If component doesn't have of_node use parent's node instead
authorJyri Sarha <jsarha@ti.com>
Tue, 26 May 2015 18:59:05 +0000 (21:59 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 20:09:11 +0000 (21:09 +0100)
commit3e0aa8d83bf8e6d414e538cf1046a3a7b48017bc
treec85a743cbe8eb09abdd803146e7e5b5bacc49615
parentd6b6c2ca6a2fbbb39051ec1d2763a947e3283683
ASoC: core: If component doesn't have of_node use parent's node instead

If an ASoC component device does not have a device tree node, use its
parent's node instead, when looking for a matching DAI based on a
device tree reference.

This allows video device drivers to register a separate child device
for their ASoC side audio functionality.  [And MFDs in general --
broonie]

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c