ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Nov 2016 01:19:03 +0000 (01:19 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 15:19:35 +0000 (15:19 +0000)
commitb6defcca0a604129155ae472b116a2e1688d8995
tree6ec8c4baa3888f9815a7c9c6391556868979b0d9
parent1ad8ec535b997ed36c0f32c2616206725258dd30
ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix

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