ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_simple_widgets
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Nov 2016 01:18:08 +0000 (01:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 15:22:02 +0000 (15:22 +0000)
commit1ef5bcd57be5c8b31286b7b47828064be25f266b
treebe392096d559dd3f8b06a53507769264bb185164
parent8f5ebb1bee15b5720741a98414767bb86f6c2b23
ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_simple_widgets

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