ASoC: core: add multi-codec support in DT
authorJean-Francois Moine <moinejf@free.fr>
Tue, 25 Nov 2014 12:16:12 +0000 (13:16 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 25 Nov 2014 13:21:14 +0000 (13:21 +0000)
commit93b0f3eeebdce6f32417187b5d24ea218a3e7fb4
treecca9a34e02e0da3a9bbb8aaeacfdd116a6ff26a9
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: core: add multi-codec support in DT

This patch exports a core function which handles the DT description
of multi-codec links (as: "sound-dai = <&hdmi 0>, <&spdif_codec>;")
and creates a CODEC component array in the DAI link.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c