ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_routing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Nov 2016 01:18:35 +0000 (01:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 15:19:34 +0000 (15:19 +0000)
commit7364c8dc255232db33bcd1c5b19eb8f34cf6108a
treeefa8ca58f42421bdf0fc8f2e41fbe4e66e9aa694
parent1001354ca34179f3db924eb66672442a173147dc
ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_routing

It is assuming that the card related information is located on
"card" node, but graph case doesn't have it.
This patch adds node parameter to adjust for graph support

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c